STABLE-BRANCH-1-2 gnupg/g10 (ChangeLog mainproc.c)
    cvs user dshaw 
    cvs at cvs.gnupg.org
       
    Sun Oct 26 03:31:48 CET 2003
    
    
  
    Date: Sunday, October 26, 2003 @ 03:31:48
  Author: dshaw
    Path: /cvs/gnupg/gnupg/g10
     Tag: STABLE-BRANCH-1-2
Modified: ChangeLog mainproc.c
* 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.
------------+
 ChangeLog  |   15 +++++++++++
 mainproc.c |   79 ++++++++++++++++++++++++++++++++++++++++-------------------
 2 files changed, 69 insertions(+), 25 deletions(-)
    
    
More information about the Gnupg-commits
mailing list