mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01: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
@ -1,3 +1,8 @@
|
||||
2007-04-26 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* passphrase.c (passphrase_to_dek): Write missing passphrase
|
||||
status message in case of cancellation.
|
||||
|
||||
2007-04-16 Werner Koch <wk@g10code.com>
|
||||
|
||||
* build-packet.c (mpi_write): Made buffer a bit larger. Reported
|
||||
|
@ -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…
x
Reference in New Issue
Block a user