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:
@ -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";
|
||||
|
Reference in New Issue
Block a user