libssh2: pass on the error from ssh_force_knownhost_key_type
Closes #5909
This commit is contained in:
Родитель
b4d86d34f9
Коммит
a27af8b510
|
@ -821,6 +821,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
|
|||
result = ssh_force_knownhost_key_type(conn);
|
||||
if(result) {
|
||||
state(conn, SSH_SESSION_FREE);
|
||||
sshc->actualcode = result;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче