]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commitdiff
Fix error message: couldn't load _private_ key, not public.
authorSimon Tatham <anakin@pobox.com>
Sat, 8 Sep 2001 11:57:00 +0000 (11:57 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 8 Sep 2001 11:57:00 +0000 (11:57 +0000)
git-svn-id: http://svn.tartarus.org/sgt/putty@1251 cda61777-01e9-0310-a592-d414129be87e

ssh.c

diff --git a/ssh.c b/ssh.c
index e793412bd871f5165939cc79ce25443efd8898fd..9ef7e0c6d078ec8a601f94fde123349421c4a0ff 100644 (file)
--- a/ssh.c
+++ b/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 */