1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-19 03:51:02 -05:00

Preliminary support for RSA user authentication in SSH2! Most of the

error messages are currently wrong, and Pageant doesn't yet support
the new key type, and I haven't thoroughly tested that falling back
to password authentication and trying invalid keys etc all work. But
what I have here has successfully performed a public key
authentication, so it's working to at least some extent.

[originally from svn r973]
This commit is contained in:
Simon Tatham
2001-03-03 11:54:34 +00:00
parent d894658913
commit 28b1fc766c
15 changed files with 1406 additions and 255 deletions

View File

@ -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);