mirror of
https://github.com/curl/curl.git
synced 2026-04-15 02:01:40 +03:00
rustls: pass the correct result to rustls_failf
Reported-by: Joshua Rogers Closes #18961
This commit is contained in:
parent
801ebf1e1a
commit
83bed97ad8
1 changed files with 1 additions and 1 deletions
|
|
@ -1103,7 +1103,7 @@ cr_init_backend(struct Curl_cfilter *cf, struct Curl_easy *data,
|
|||
connssl->peer.hostname,
|
||||
&rconn);
|
||||
if(rr != RUSTLS_RESULT_OK) {
|
||||
rustls_failf(data, result, "rustls_client_connection_new");
|
||||
rustls_failf(data, rr, "rustls_client_connection_new");
|
||||
return CURLE_COULDNT_CONNECT;
|
||||
}
|
||||
DEBUGASSERT(rconn);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue