1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Allow to cancel marktrusted.

This commit is contained in:
Werner Koch 2006-10-16 17:36:44 +00:00
parent d7160c2e34
commit 416ac2e4d7
4 changed files with 21 additions and 2 deletions

View file

@ -582,6 +582,9 @@ agent_get_confirmation (ctrl_t ctrl,
}
rc = assuan_transact (entry_ctx, "CONFIRM", NULL, NULL, NULL, NULL, NULL, NULL);
if (rc && gpg_err_source (rc) && gpg_err_code (rc) == GPG_ERR_ASS_CANCELED)
rc = gpg_err_make (gpg_err_source (rc), GPG_ERR_CANCELED);
return unlock_pinentry (rc);
}