mirror of
https://github.com/curl/curl.git
synced 2026-04-14 21:31:42 +03:00
libssh2: fix EAGAIN return in ssh_state_auth_agent
Reported-by: Joshua Rogers Closes #19042
This commit is contained in:
parent
e003c0b259
commit
dee72fe31e
1 changed files with 2 additions and 1 deletions
|
|
@ -1850,8 +1850,9 @@ static CURLcode ssh_state_auth_agent(struct Curl_easy *data,
|
|||
if(rc != LIBSSH2_ERROR_EAGAIN) {
|
||||
/* tried and failed? go to next identity */
|
||||
sshc->sshagent_prev_identity = sshc->sshagent_identity;
|
||||
return CURLE_OK;
|
||||
}
|
||||
return CURLE_OK;
|
||||
return CURLE_AGAIN;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue