1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Reasonably thorough test suite for command-line PuTTYgen, and

several bugs fixed in the process of constructing same.

[originally from svn r3767]
This commit is contained in:
Simon Tatham
2004-01-24 17:16:37 +00:00
parent 3f199bfe5c
commit 72083d11ac
2 changed files with 598 additions and 22 deletions

View File

@ -824,6 +824,7 @@ struct ssh2_userkey *ssh2_load_userkey(const Filename *filename,
/* An incorrect MAC is an unconditional Error if the key is
* unencrypted. Otherwise, it means Wrong Passphrase. */
if (cipher) {
error = "wrong passphrase";
ret = SSH2_WRONG_PASSPHRASE;
} else {
error = "MAC failed";