mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-10 15:48:06 -05:00
Fix error message: couldn't load _private_ key, not public.
[originally from svn r1251]
This commit is contained in:
parent
2e4cefa420
commit
a3bfa43b0f
2
ssh.c
2
ssh.c
@ -2305,7 +2305,7 @@ static int do_ssh1_login(unsigned char *in, int inlen, int ispkt)
|
||||
tried_publickey = 1;
|
||||
i = loadrsakey(cfg.keyfile, &pubkey, password);
|
||||
if (i == 0) {
|
||||
c_write_str("Couldn't load public key from ");
|
||||
c_write_str("Couldn't load private key from ");
|
||||
c_write_str(cfg.keyfile);
|
||||
c_write_str(".\r\n");
|
||||
continue; /* go and try password */
|
||||
|
Loading…
x
Reference in New Issue
Block a user