1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-14 09:37:34 -05:00

Rationalise ordering of authentication operations. Still some work to do,

but at least pscp no longer hangs when prompting for a passphrase

[originally from svn r621]
This commit is contained in:
Simon Tatham
2000-09-25 10:14:53 +00:00
parent 117fd9affc
commit 673f2e48a7
6 changed files with 159 additions and 104 deletions

View File

@ -127,7 +127,8 @@ void add_keyfile(char *filename) {
int ret;
int attempts;
needs_pass = rsakey_encrypted(filename);
/* FIXME: we can acquire comment here and use it in dialog */
needs_pass = rsakey_encrypted(filename, NULL);
attempts = 0;
key = malloc(sizeof(*key));
do {