diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2020-11-26 01:50:40 +0100 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2020-11-26 01:50:40 +0100 |
commit | 605ab99912ac632363d1b4378a710229e40ca99e (patch) | |
tree | 3d1b69588424f87a3734a3b071a628e16f1ca3e8 /g10/export.c | |
parent | scd,nks: Fix caching keygrip. (diff) | |
download | gnupg2-605ab99912ac632363d1b4378a710229e40ca99e.tar.xz gnupg2-605ab99912ac632363d1b4378a710229e40ca99e.zip |
gpg: Report an error for receiving key from agent.
* g10/export.c (do_export_one_keyblock): Report an error.
--
GnuPG-bug-id: 5151
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'g10/export.c')
-rw-r--r-- | g10/export.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/export.c b/g10/export.c index 53aa4ffb5..5cbe58180 100644 --- a/g10/export.c +++ b/g10/export.c @@ -1842,6 +1842,7 @@ do_export_one_keyblock (ctrl_t ctrl, kbnode_t keyblock, u32 *keyid, { if (gpg_err_code (err) == GPG_ERR_FULLY_CANCELED) goto leave; + write_status_error ("export_keys.secret", err); skip_until_subkey = 1; err = 0; } |