diff options
author | Justus Winter <[email protected]> | 2017-06-20 08:46:52 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-06-20 08:46:52 +0000 |
commit | badc1cdae52bd434e5fac2e4275575afeccc2837 (patch) | |
tree | 2b8f9b86b150fcc240c315a1d057ad6d290860db /common/sysutils.h | |
parent | gpg,gpgsm: Fix compliance check for DSA and avoid an assert. (diff) | |
download | gnupg-badc1cdae52bd434e5fac2e4275575afeccc2837.tar.gz gnupg-badc1cdae52bd434e5fac2e4275575afeccc2837.zip |
gpg: Fix error handling.
* g10/keygen.c (generate_subkeypair): Handle errors from pinentry.
--
Previously, when generating a subkey, gpg would ask for the passphrase
of the primary key. If that dialog is canceled, gpg would ask a
second time for a passphrase to protect the new subkey.
Fix this by handling the error.
GnuPG-bug-id: 3212
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'common/sysutils.h')
0 files changed, 0 insertions, 0 deletions