mirror of
https://github.com/curl/curl.git
synced 2026-07-25 03:07:17 +03:00
fixes
This commit is contained in:
parent
08045e6aa5
commit
9b7b24da91
1 changed files with 3 additions and 3 deletions
|
|
@ -373,7 +373,7 @@ static CURLcode cr_send(struct Curl_cfilter *cf, struct Curl_easy *data,
|
|||
*pnwritten += (ssize_t)plainwritten;
|
||||
|
||||
out:
|
||||
CURL_TRC_CF(data, cf, "rustls_send(len=%zu) -> %d, %zd",
|
||||
CURL_TRC_CF(data, cf, "rustls_send(len=%zu) -> %d, %zu",
|
||||
plainlen, result, *pnwritten);
|
||||
return result;
|
||||
}
|
||||
|
|
@ -1142,7 +1142,7 @@ static CURLcode cr_connect(struct Curl_cfilter *cf, struct Curl_easy *data,
|
|||
|
||||
DEBUGASSERT(backend);
|
||||
|
||||
CURL_TRC_CF(data, cf, "cr_connect, state=%d", connssl->state);
|
||||
CURL_TRC_CF(data, cf, "cr_connect, state=%d", (int)connssl->state);
|
||||
*done = FALSE;
|
||||
|
||||
#ifdef USE_ECH
|
||||
|
|
@ -1217,7 +1217,7 @@ static CURLcode cr_connect(struct Curl_cfilter *cf, struct Curl_easy *data,
|
|||
while(rustls_connection_get_peer_certificate(rconn, num_certs)) {
|
||||
num_certs++;
|
||||
if(num_certs > MAX_ALLOWED_CERT_AMOUNT) {
|
||||
failf(data, "%zu certificates is more than allowed (%u)",
|
||||
failf(data, "%zu certificates is more than allowed (%d)",
|
||||
num_certs, MAX_ALLOWED_CERT_AMOUNT);
|
||||
return CURLE_SSL_CONNECT_ERROR;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue