aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-03-19 10:21:51 +0000
committerWerner Koch <[email protected]>2009-03-19 10:21:51 +0000
commitc2c3cf4be187cd3a5a634e59b0df98338d6bf31e (patch)
tree3ff8644d5b759cf7e0f74e9890f0a195aaa92116 /agent/command.c
parentMake sure not to leak file descriptors if running gpg-agent with a (diff)
downloadgnupg-c2c3cf4be187cd3a5a634e59b0df98338d6bf31e.tar.gz
gnupg-c2c3cf4be187cd3a5a634e59b0df98338d6bf31e.zip
Changed order of the confirmation questions for root certificates
and stores negative answers in trustlist.txt.
Diffstat (limited to '')
-rw-r--r--agent/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/command.c b/agent/command.c
index 1f8febc7b..b31e40553 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -461,7 +461,7 @@ cmd_istrusted (assuan_context_t ctx, char *line)
for (p=line; i < 40; p++, i++)
fpr[i] = *p >= 'a'? (*p & 0xdf): *p;
fpr[i] = 0;
- rc = agent_istrusted (ctrl, fpr);
+ rc = agent_istrusted (ctrl, fpr, NULL);
if (!rc || gpg_err_code (rc) == GPG_ERR_NOT_TRUSTED)
return rc;
else if (rc == -1 || gpg_err_code (rc) == GPG_ERR_EOF )