mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
2009-08-20 Daiki Ueno <ueno@unixuser.org>
* mainproc.c (proc_encrypted): Clear passphrase cached with S2K cache ID if decryption failed. * passphrase.c (passphrase_to_dek_ext): Set dek->s2k_cacheid. * gpgv.c (passphrase_clear_cache): New stub.
This commit is contained in:
parent
43387e13c0
commit
7cde92403c
7 changed files with 37 additions and 9 deletions
|
@ -94,6 +94,7 @@ typedef struct
|
|||
int use_mdc;
|
||||
int symmetric;
|
||||
byte key[32]; /* This is the largest used keylen (256 bit). */
|
||||
char s2k_cacheid[1+16+1];
|
||||
} DEK;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue