diff options
author | James Housley <jim@thehousleys.net> | 2007-06-19 13:23:21 +0000 |
---|---|---|
committer | James Housley <jim@thehousleys.net> | 2007-06-19 13:23:21 +0000 |
commit | 277bab0c7b7f308dbe38e272ff6914fffa4c524e (patch) | |
tree | e80221de6f7f6e9f410246b740ed3074bb1ec7de | |
parent | fc3c5dae87b74186b99e00a16fbd2e4f7a32a9d1 (diff) |
Check both variables, not the same one twice. Pointed out by Colin Hogben
-rw-r--r-- | lib/ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -403,7 +403,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn) infof(conn->data, "Using ssh private key file %s\n", sshc->rsa); } - if (sshc->rsa_pub && sshc->rsa_pub) { + if (sshc->rsa_pub && sshc->rsa) { state(conn, SSH_AUTH_PKEY); } else { /* One or both aprint()'s might have failed, |