Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Commit

Permalink
Fix error message: couldn't load _private_ key, not public.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.tartarus.org/sgt/putty@1251 cda61777-01e9-0310-a592-d414129be87e
  • Loading branch information
simon committed Sep 8, 2001
1 parent 4eb195c commit 7963af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 7963af2

Please sign in to comment.