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:
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>
|
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
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user