Tartarus CVS: putty: jacob

tartarus-commits@lists.tartarus.org tartarus-commits@lists.tartarus.org
Tue, 02 Sep 2003 20:00:19 +0100


CVS Root:       /usr/data/cvs
Module:         putty
Changes by:     jacob
Date:           Tue Sep 02 2003  20:00:19 BST

Log message:
When loading SSH-2 key, ignore passphrase argument if key is unencrypted.
This should get rid of a problem that three or four people reported where
PuTTY intermittently reports "Unable to load private key" (MAC failed).
(ssh.c:do_ssh2_authconn() should also initialise its passphrase so it's not
passing garbage passphrases around, of course, but I haven't yet worked out
where the best place in the auth loop to do that would be.)

Modified files:
    .               : sshpubk.c

Links:
http://cvs.tartarus.org//putty/sshpubk.c.diff?r1=1.24&r2=1.25