mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
Changed license of this parser to LPGL.
This commit is contained in:
parent
1b2f7cbe3b
commit
12f7e943cc
@ -1,3 +1,7 @@
|
|||||||
|
2005-09-06 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
|
* rfc822parse.c, rfc822parse.h: Changed license to LGPL.
|
||||||
|
|
||||||
2005-08-01 Werner Koch <wk@g10code.com>
|
2005-08-01 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* gpgsm-gencert.sh: Allow entering a keygrip to generate a CSR from
|
* gpgsm-gencert.sh: Allow entering a keygrip to generate a CSR from
|
||||||
|
@ -3,31 +3,31 @@
|
|||||||
* Copyright (C) 2003, 2004 g10 Code GmbH
|
* Copyright (C) 2003, 2004 g10 Code GmbH
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License as
|
* modify it under the terms of the GNU Lesser General Public License
|
||||||
* published by the Free Software Foundation; either version 2 of the
|
* as published by the Free Software Foundation; either version 2.1 of
|
||||||
* License, or (at your option) any later version.
|
* the License, or (at your option) any later version.
|
||||||
*
|
*
|
||||||
* This program is is distributed in the hope that it will be useful,
|
* This program is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* General Public License for more details.
|
* GNU Lesser General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
* along with this program; if not, write to the Free Software
|
* License along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||||
|
* 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/* According to RFC822 binary 0 are allowed at many places. We
|
/* According to RFC822 binary zeroes are allowed at many places. We do
|
||||||
* do not handle this correct especially in the field parsing code. It
|
* not handle this correct especially in the field parsing code. It
|
||||||
* should be easy to fix and the API provides a interfcaes which returns
|
* should be easy to fix and the API provides a interfaces which
|
||||||
* the length but in addition makes sure that returned strings are always
|
* returns the length but in addition makes sure that returned strings
|
||||||
* ended by a \0.
|
* are always ended by a \0.
|
||||||
*
|
*
|
||||||
* Furthermore, the case of field names is changed and thus it is not
|
* Furthermore, the case of field names is changed and thus it is not
|
||||||
* always a good idea to use these modified header
|
* always a good idea to use these modified header
|
||||||
* lines (e.g. signatures may break).
|
* lines (e.g. signatures may break).
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
@ -44,13 +44,13 @@
|
|||||||
#include "rfc822parse.h"
|
#include "rfc822parse.h"
|
||||||
|
|
||||||
enum token_type
|
enum token_type
|
||||||
{
|
{
|
||||||
tSPACE,
|
tSPACE,
|
||||||
tATOM,
|
tATOM,
|
||||||
tQUOTED,
|
tQUOTED,
|
||||||
tDOMAINLIT,
|
tDOMAINLIT,
|
||||||
tSPECIAL
|
tSPECIAL
|
||||||
};
|
};
|
||||||
|
|
||||||
/* For now we directly use our TOKEN as the parse context */
|
/* For now we directly use our TOKEN as the parse context */
|
||||||
typedef struct rfc822parse_field_context *TOKEN;
|
typedef struct rfc822parse_field_context *TOKEN;
|
||||||
|
@ -3,18 +3,19 @@
|
|||||||
* Copyright (C) 2003, g10 Code GmbH
|
* Copyright (C) 2003, g10 Code GmbH
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License as
|
* modify it under the terms of the GNU Lesser General Public License
|
||||||
* published by the Free Software Foundation; either version 2 of the
|
* as published by the Free Software Foundation; either version 2.1 of
|
||||||
* License, or (at your option) any later version.
|
* the License, or (at your option) any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful,
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* General Public License for more details.
|
* GNU Lesser General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
* along with this program; if not, write to the Free Software
|
* License along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||||
|
* 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef RFC822PARSE_H
|
#ifndef RFC822PARSE_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user