← Commit list

dee72fe31e

Daniel Stenberg
Daniel Stenberg
2025-10-13
SUCCESS Duration: 229s

Subject

libssh2: fix EAGAIN return in ssh_state_auth_agent

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/vssh/libssh2.c+2 -1
@@ -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;
}
}