diff options
author | James Housley <jim@thehousleys.net> | 2007-06-12 13:47:32 +0000 |
---|---|---|
committer | James Housley <jim@thehousleys.net> | 2007-06-12 13:47:32 +0000 |
commit | 73c13220eeb5865f549a30d1b6ba33ec8544b560 (patch) | |
tree | 6e9861b8f2113945c5d92716d721c10d36934df9 | |
parent | 99e0597c7b74a8be4c85819554b7a1eb447f5ed5 (diff) |
Prevent the state machine from getting stuck in SSH_AUTH_HOST_INIT
-rw-r--r-- | lib/ssh.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -451,6 +451,8 @@ static CURLcode ssh_statemach_act(struct connectdata *conn) if ((data->set.ssh_auth_types & CURLSSH_AUTH_HOST) && (strstr(sshc->authlist, "hostbased") != NULL)) { state(conn, SSH_AUTH_HOST); + } else { + state(conn, SSH_AUTH_KEY_INIT); } break; |