Preliminary support for RSA user authentication in SSH2! Most of the
[u/mdw/putty] / pageant.c
index 888dd43..f4d5aa5 100644 (file)
--- a/pageant.c
+++ b/pageant.c
@@ -254,7 +254,7 @@ static void add_keyfile(char *filename) {
             }
         } else
             *passphrase = '\0';
-        ret = loadrsakey(filename, key, NULL, passphrase);
+        ret = loadrsakey(filename, key, passphrase);
         attempts++;
     } while (ret == -1);
     if (comment) sfree(comment);