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
|
@ -426,6 +426,14 @@ passphrase_to_dek (u32 *keyid, int pubkey_algo,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
passphrase_clear_cache (u32 *keyid, const char *cacheid, int algo)
|
||||
{
|
||||
(void)keyid;
|
||||
(void)cacheid;
|
||||
(void)algo;
|
||||
}
|
||||
|
||||
struct keyserver_spec *
|
||||
parse_preferred_keyserver(PKT_signature *sig)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue