diff options
author | Marcus Brinkmann <mb@g10code.com> | 2001-12-14 00:20:02 +0100 |
---|---|---|
committer | Marcus Brinkmann <mb@g10code.com> | 2001-12-14 00:20:02 +0100 |
commit | e6336cb1ffcc7f21195a65cf0981b048761ef295 (patch) | |
tree | 0e31c545b87b390802aff25333ae8984b276e563 /assuan | |
parent | 2001-12-13 Marcus Brinkmann <marcus@gnu.org> (diff) | |
download | gnupg2-e6336cb1ffcc7f21195a65cf0981b048761ef295.tar.xz gnupg2-e6336cb1ffcc7f21195a65cf0981b048761ef295.zip |
assuan/
2001-12-14 Marcus Brinkmann <marcus@g10code.de>
* assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH.
assuan.h: Define ASSUAN_LINELENGTH.
agent/
2001-12-14 Marcus Brinkmann <marcus@g10code.de>
* query.c (LINELENGTH): Removed.
(agent_askpin): Use ASSUAN_LINELENGTH, not LINELENGTH.
sm/
2001-12-14 Marcus Brinkmann <marcus@g10code.de>
* call-agent.c (LINELENGTH): Removed.
(gpgsm_agent_pksign): Use ASSUAN_LINELENGTH, not LINELENGTH.
(gpgsm_agent_pkdecrypt): Likewise.
Diffstat (limited to 'assuan')
-rw-r--r-- | assuan/ChangeLog | 7 | ||||
-rw-r--r-- | assuan/assuan-defs.h | 2 | ||||
-rw-r--r-- | assuan/assuan.h | 1 |
3 files changed, 8 insertions, 2 deletions
diff --git a/assuan/ChangeLog b/assuan/ChangeLog index 8d05c0e92..b7d32a6d1 100644 --- a/assuan/ChangeLog +++ b/assuan/ChangeLog @@ -1,4 +1,9 @@ -2001-12-13 Marcus Brinkmann <marcus@gnu.org> +2001-12-14 Marcus Brinkmann <marcus@g10code.de> + + * assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH. + assuan.h: Define ASSUAN_LINELENGTH. + +2001-12-13 Marcus Brinkmann <marcus@g10code.de> * assuan-buffer.c (assuan_read_line): Fix order of execution to get correct return values. diff --git a/assuan/assuan-defs.h b/assuan/assuan-defs.h index e0a38a8f0..ecabd3828 100644 --- a/assuan/assuan-defs.h +++ b/assuan/assuan-defs.h @@ -24,7 +24,7 @@ #include <sys/types.h> #include "assuan.h" -#define LINELENGTH 1002 /* 1000 + [CR,]LF */ +#define LINELENGTH ASSUAN_LINELENGTH struct cmdtbl_s { const char *name; diff --git a/assuan/assuan.h b/assuan/assuan.h index f97493dc0..485ad2225 100644 --- a/assuan/assuan.h +++ b/assuan/assuan.h @@ -101,6 +101,7 @@ typedef enum { ASSUAN_CMD_USER = 256 /* Other commands should be used with this offset*/ } AssuanCommand; +#define ASSUAN_LINELENGTH 1002 /* 1000 + [CR,]LF */ struct assuan_context_s; typedef struct assuan_context_s *ASSUAN_CONTEXT; |