diff options
author | David Shaw <[email protected]> | 2003-10-26 02:31:48 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-10-26 02:31:48 +0000 |
commit | ea4d713e88195a87925f2ed5f6178dc9e9c6374b (patch) | |
tree | 9c4e7f682521b5426463135fccf1009f751e1406 /mpi/mpi-inline.c | |
parent | * secmem.c (lock_pool) [_AIX]: Don't use plock. (diff) | |
download | gnupg-ea4d713e88195a87925f2ed5f6178dc9e9c6374b.tar.gz gnupg-ea4d713e88195a87925f2ed5f6178dc9e9c6374b.zip |
* mainproc.c (symkey_decrypt_sesskey): There is no way to tell the
difference here between a bad passphrase and a cipher algorithm that we
don't have, so use a error message that makes that clear. Use the actual
list of ciphers when checking whether a cipher is invalid. Return error
if the decrypted cipher algorithm is invalid. (proc_symkey_enc): In a
mixed passphrase/pk message, if a valid dek already exists from decrypting
via pk, do not try to process the passphrase. (proc_symkey_enc): Indicate
when we're decrypting a session key as opposed to decrypting data. If a
passphrase is invalid, discard the dek so we'll keep trying.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions