mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
2007-04-26 Marcus Brinkmann <marcus@g10code.de>
* passphrase.c (passphrase_to_dek): Write missing passphrase status message in case of cancellation.
This commit is contained in:
parent
b89d98e335
commit
1843485de9
2 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue