summaryrefslogtreecommitdiffstats
path: root/dirmngr/http.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>2017-07-21 20:01:10 +0200
committerMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>2017-07-21 20:03:59 +0200
commite4c720fa3b31ebd3e9d764c6eab02729cf06124c (patch)
treeddcf98c6576b3bed0c668d511c31c1133c89e29e /dirmngr/http.c
parentgpg: Extend --quick-set-expire to allow subkey expiration setting. (diff)
downloadgnupg2-e4c720fa3b31ebd3e9d764c6eab02729cf06124c.tar.xz
gnupg2-e4c720fa3b31ebd3e9d764c6eab02729cf06124c.zip
g10: Avoid caching passphrase for failed symmetric encryption.
* g10/mainproc.c (proc_encrypted): If error code is GPG_ERR_CIPHER_ALGO, assume the symmetric passphrase was wrong and invalidate the cache. Signed-off-by: Marcus Brinkmann <mb@g10code.com> GnuPG-bug-id: 2270
Diffstat (limited to 'dirmngr/http.c')
0 files changed, 0 insertions, 0 deletions