diff options
author | Marcus Brinkmann <[email protected]> | 2017-07-21 18:01:10 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2017-07-21 18:03:59 +0000 |
commit | e4c720fa3b31ebd3e9d764c6eab02729cf06124c (patch) | |
tree | ddcf98c6576b3bed0c668d511c31c1133c89e29e /agent/command-ssh.c | |
parent | gpg: Extend --quick-set-expire to allow subkey expiration setting. (diff) | |
download | gnupg-e4c720fa3b31ebd3e9d764c6eab02729cf06124c.tar.gz gnupg-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 <[email protected]>
GnuPG-bug-id: 2270
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions