aboutsummaryrefslogtreecommitdiffstats
path: root/agent/query.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2001-12-13 23:20:02 +0000
committerMarcus Brinkmann <[email protected]>2001-12-13 23:20:02 +0000
commite6336cb1ffcc7f21195a65cf0981b048761ef295 (patch)
tree0e31c545b87b390802aff25333ae8984b276e563 /agent/query.c
parent2001-12-13 Marcus Brinkmann <[email protected]> (diff)
downloadgnupg-e6336cb1ffcc7f21195a65cf0981b048761ef295.tar.gz
gnupg-e6336cb1ffcc7f21195a65cf0981b048761ef295.zip
assuan/
2001-12-14 Marcus Brinkmann <[email protected]> * assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH. assuan.h: Define ASSUAN_LINELENGTH. agent/ 2001-12-14 Marcus Brinkmann <[email protected]> * query.c (LINELENGTH): Removed. (agent_askpin): Use ASSUAN_LINELENGTH, not LINELENGTH. sm/ 2001-12-14 Marcus Brinkmann <[email protected]> * call-agent.c (LINELENGTH): Removed. (gpgsm_agent_pksign): Use ASSUAN_LINELENGTH, not LINELENGTH. (gpgsm_agent_pkdecrypt): Likewise.
Diffstat (limited to 'agent/query.c')
-rw-r--r--agent/query.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/agent/query.c b/agent/query.c
index 27dc6dba9..dd2139fad 100644
--- a/agent/query.c
+++ b/agent/query.c
@@ -37,8 +37,6 @@
#define MAX_OPEN_FDS 20
#endif
-#define LINELENGTH 1002 /* 1000 + [CR,]LF */
-
static ASSUAN_CONTEXT entry_ctx = NULL;
/* data to be passed to our callbacks */
@@ -144,7 +142,7 @@ agent_askpin (const char *desc_text,
struct pin_entry_info_s *pininfo)
{
int rc;
- char line[LINELENGTH];
+ char line[ASSUAN_LINELENGTH];
struct entry_parm_s parm;
const char *errtext = NULL;