1
0
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:
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>
* 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)
{
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)