aboutsummaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
Diffstat (limited to 'agent')
-rw-r--r--agent/ChangeLog5
-rw-r--r--agent/query.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/agent/ChangeLog b/agent/ChangeLog
index 1ccdf29ce..0d59e84e4 100644
--- a/agent/ChangeLog
+++ b/agent/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-14 Marcus Brinkmann <[email protected]>
+
+ * query.c (LINELENGTH): Removed.
+ (agent_askpin): Use ASSUAN_LINELENGTH, not LINELENGTH.
+
2001-11-19 Werner Koch <[email protected]>
* gpg-agent.c: Removed all GUI code, removed code for old
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;