aboutsummaryrefslogtreecommitdiffstats
path: root/agent/query.c
diff options
context:
space:
mode:
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;