1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +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:
Marcus Brinkmann 2007-04-28 16:04:44 +00:00
parent b89d98e335
commit 1843485de9
2 changed files with 7 additions and 0 deletions

View File

@ -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> 2007-04-16 Werner Koch <wk@g10code.com>
* build-packet.c (mpi_write): Made buffer a bit larger. Reported * build-packet.c (mpi_write): Made buffer a bit larger. Reported

View File

@ -627,6 +627,7 @@ passphrase_to_dek (u32 *keyid, int pubkey_algo,
if (*canceled) if (*canceled)
{ {
xfree (pw); xfree (pw);
write_status( STATUS_MISSING_PASSPHRASE );
return NULL; return NULL;
} }
if (!pw) if (!pw)
@ -642,6 +643,7 @@ passphrase_to_dek (u32 *keyid, int pubkey_algo,
{ {
xfree (pw); xfree (pw);
xfree (pw2); xfree (pw2);
write_status( STATUS_MISSING_PASSPHRASE );
return NULL; return NULL;
} }
if (!pw2) if (!pw2)