diff options
author | Marcus Brinkmann <mb@g10code.com> | 2007-04-28 18:04:44 +0200 |
---|---|---|
committer | Marcus Brinkmann <mb@g10code.com> | 2007-04-28 18:04:44 +0200 |
commit | 1843485de950929bda325fd20a5250feec11a886 (patch) | |
tree | abcf39723c169869dde39a5a08e93201ac3bb72c /g10/passphrase.c | |
parent | Improved logging for error orginating from libgcrypt. (diff) | |
download | gnupg2-1843485de950929bda325fd20a5250feec11a886.tar.xz gnupg2-1843485de950929bda325fd20a5250feec11a886.zip |
2007-04-26 Marcus Brinkmann <marcus@g10code.de>
* passphrase.c (passphrase_to_dek): Write missing passphrase
status message in case of cancellation.
Diffstat (limited to '')
-rw-r--r-- | g10/passphrase.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/passphrase.c b/g10/passphrase.c index c3d42dc0e..122b251dd 100644 --- a/g10/passphrase.c +++ b/g10/passphrase.c @@ -627,6 +627,7 @@ passphrase_to_dek (u32 *keyid, int pubkey_algo, if (*canceled) { xfree (pw); + write_status( STATUS_MISSING_PASSPHRASE ); return NULL; } if (!pw) @@ -642,6 +643,7 @@ passphrase_to_dek (u32 *keyid, int pubkey_algo, { xfree (pw); xfree (pw2); + write_status( STATUS_MISSING_PASSPHRASE ); return NULL; } if (!pw2) |