diff options
-rw-r--r-- | lib/minitasn1/coding.c | 15 | ||||
-rw-r--r-- | lib/minitasn1/decoding.c | 15 | ||||
-rw-r--r-- | lib/minitasn1/element.c | 13 | ||||
-rw-r--r-- | lib/minitasn1/errors.c | 25 | ||||
-rw-r--r-- | lib/minitasn1/errors.h | 26 | ||||
-rw-r--r-- | lib/minitasn1/errors_int.h | 2 | ||||
-rw-r--r-- | lib/minitasn1/gstr.c | 16 | ||||
-rw-r--r-- | lib/minitasn1/int.h | 27 | ||||
-rw-r--r-- | lib/minitasn1/libtasn1.h | 10 | ||||
-rw-r--r-- | lib/minitasn1/parser_aux.c | 17 | ||||
-rw-r--r-- | lib/minitasn1/structure.c | 13 |
11 files changed, 96 insertions, 83 deletions
diff --git a/lib/minitasn1/coding.c b/lib/minitasn1/coding.c index de97543129..f5d9cb6f5a 100644 --- a/lib/minitasn1/coding.c +++ b/lib/minitasn1/coding.c @@ -2,21 +2,22 @@ * Copyright (C) 2004, 2006 Free Software Foundation * Copyright (C) 2002 Fabio Fiorina * - * This file is part of LIBASN1. + * This file is part of LIBTASN1. * - * The LIBTASN1 library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either + * The LIBTASN1 library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA */ diff --git a/lib/minitasn1/decoding.c b/lib/minitasn1/decoding.c index e9a6464ddd..bfb6ccc99a 100644 --- a/lib/minitasn1/decoding.c +++ b/lib/minitasn1/decoding.c @@ -2,21 +2,22 @@ * Copyright (C) 2004, 2006 Free Software Foundation * Copyright (C) 2002 Fabio Fiorina * - * This file is part of LIBASN1. + * This file is part of LIBTASN1. * - * The LIBTASN1 library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either + * The LIBTASN1 library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA */ diff --git a/lib/minitasn1/element.c b/lib/minitasn1/element.c index 829a1f4b1e..644254c778 100644 --- a/lib/minitasn1/element.c +++ b/lib/minitasn1/element.c @@ -2,21 +2,22 @@ * Copyright (C) 2004, 2006 Free Software Foundation * Copyright (C) 2000, 2001, 2002, 2003 Fabio Fiorina * - * This file is part of LIBASN1. + * This file is part of LIBTASN1. * - * The LIBTASN1 library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public + * The LIBTASN1 library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA */ /*****************************************************/ diff --git a/lib/minitasn1/errors.c b/lib/minitasn1/errors.c index ecffa9ac94..b1224da03a 100644 --- a/lib/minitasn1/errors.c +++ b/lib/minitasn1/errors.c @@ -1,20 +1,23 @@ -/* Copyright (C) 2002, 2005 Fabio Fiorina +/* + * Copyright (C) 2006 Free Software Foundation, Inc. + * Copyright (C) 2002, 2005 Fabio Fiorina * - * This file is part of LIBASN1. + * This file is part of LIBTASN1. * - * The LIBTASN1 library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either + * The LIBTASN1 library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA */ #include <int.h> @@ -66,10 +69,10 @@ static const libtasn1_error_entry error_algorithms[] = { /** * libtasn1_perror - prints a string to stderr with a description of an error - * @error: is an error returned by a libasn1 function. + * @error: is an error returned by a libtasn1 function. * * This function is like perror(). The only difference is that it - * accepts an error returned by a libasn1 function. + * accepts an error returned by a libtasn1 function. **/ void libtasn1_perror(asn1_retCode error) { @@ -89,7 +92,7 @@ void libtasn1_perror(asn1_retCode error) * @error: is an error returned by a libtasn1 function. * * This function is similar to strerror(). The only difference is - * that it accepts an error (number) returned by a libasn1 function. + * that it accepts an error (number) returned by a libtasn1 function. * * Returns: Pointer to static zero-terminated string describing error * code. diff --git a/lib/minitasn1/errors.h b/lib/minitasn1/errors.h index a5f0377200..ceba7da091 100644 --- a/lib/minitasn1/errors.h +++ b/lib/minitasn1/errors.h @@ -1,21 +1,23 @@ /* + * Copyright (C) 2004, 2006 Free Software Foundation, Inc. * Copyright (C) 2002 Fabio Fiorina * - * This file is part of LIBASN1. + * This file is part of LIBTASN1. * - * LIBASN1 is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * The LIBTASN1 library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * LIBASN1 is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA */ #ifndef ERRORS_H diff --git a/lib/minitasn1/errors_int.h b/lib/minitasn1/errors_int.h index e05d6864be..14f6265b88 100644 --- a/lib/minitasn1/errors_int.h +++ b/lib/minitasn1/errors_int.h @@ -1,4 +1,4 @@ -/* libasn1 error codes. The mapping to a TLS alert is also shown in +/* libtasn1 error codes. The mapping to a TLS alert is also shown in * comments. */ diff --git a/lib/minitasn1/gstr.c b/lib/minitasn1/gstr.c index ab2c5ac2d6..65627d6edd 100644 --- a/lib/minitasn1/gstr.c +++ b/lib/minitasn1/gstr.c @@ -1,21 +1,23 @@ /* + * Copyright (C) 2006 Free Software Foundation * Copyright (C) 2002 Nikos Mavroyanopoulos * - * This file is part of LIBASN1. + * This file is part of LIBTASN1. * - * The LIBTASN1 library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either + * The LIBTASN1 library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA */ #include <int.h> diff --git a/lib/minitasn1/int.h b/lib/minitasn1/int.h index c9f2dc919e..663aff36f4 100644 --- a/lib/minitasn1/int.h +++ b/lib/minitasn1/int.h @@ -1,22 +1,23 @@ /* - * Copyright (C) 2004 Simon Josefsson + * Copyright (C) 2004, 2006 Free Software Foundation, Inc. * Copyright (C) 2002 Fabio Fiorina * - * This file is part of LIBASN1. + * This file is part of LIBTASN1. * - * GNUTLS is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * The LIBTASN1 library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * GNUTLS is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA */ #ifndef INT_H diff --git a/lib/minitasn1/libtasn1.h b/lib/minitasn1/libtasn1.h index 034d328f3e..3c6970db73 100644 --- a/lib/minitasn1/libtasn1.h +++ b/lib/minitasn1/libtasn1.h @@ -21,8 +21,8 @@ * */ -#ifndef LIBASN1_H -# define LIBASN1_H +#ifndef LIBTASN1_H +# define LIBTASN1_H #include <stdio.h> /* for FILE* */ @@ -42,10 +42,10 @@ extern "C" { /* (null character included) */ -typedef int asn1_retCode; /* type returned by libasn1 functions */ +typedef int asn1_retCode; /* type returned by libtasn1 functions */ /*****************************************/ - /* Errors returned by libasn1 functions */ + /* Errors returned by libtasn1 functions */ /*****************************************/ #define ASN1_SUCCESS 0 #define ASN1_FILE_NOT_FOUND 1 @@ -197,4 +197,4 @@ void libtasn1_perror(asn1_retCode error); } #endif -#endif /* LIBASN1_H */ +#endif /* LIBTASN1_H */ diff --git a/lib/minitasn1/parser_aux.c b/lib/minitasn1/parser_aux.c index d765cf580f..706be0c2a1 100644 --- a/lib/minitasn1/parser_aux.c +++ b/lib/minitasn1/parser_aux.c @@ -1,22 +1,23 @@ /* + * Copyright (C) 2004, 2006 Free Software Foundation * Copyright (C) 2000,2001 Fabio Fiorina - * Copyright (C) 2004 Simon Josefsson * - * This file is part of LIBASN1. + * This file is part of LIBTASN1. * - * The LIBTASN1 library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either + * The LIBTASN1 library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA */ #include <int.h> diff --git a/lib/minitasn1/structure.c b/lib/minitasn1/structure.c index 46bc8abe84..9ef9ff6adc 100644 --- a/lib/minitasn1/structure.c +++ b/lib/minitasn1/structure.c @@ -2,21 +2,22 @@ * Copyright (C) 2004, 2006 Free Software Foundation * Copyright (C) 2002 Fabio Fiorina * - * This file is part of LIBASN1. + * This file is part of LIBTASN1. * - * The LIBTASN1 library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public + * The LIBTASN1 library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA */ |