mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Changed order of the confirmation questions for root certificates
and stores negative answers in trustlist.txt.
This commit is contained in:
parent
588a7c34bb
commit
c2c3cf4be1
6 changed files with 128 additions and 73 deletions
|
@ -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 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue