mirror of
https://github.com/curl/curl.git
synced 2026-04-15 02:11:42 +03:00
rustls: use %zu for size_t in failf() format string
Reported in Joshua's sarif data Closes #18651
This commit is contained in:
parent
a9baf82a9b
commit
05930f304b
1 changed files with 2 additions and 2 deletions
|
|
@ -1231,8 +1231,8 @@ cr_connect(struct Curl_cfilter *cf,
|
|||
size_t errorlen;
|
||||
rustls_error(rresult, errorbuf, sizeof(errorbuf), &errorlen);
|
||||
failf(data,
|
||||
"Failed getting DER of server certificate #%ld: %.*s", i,
|
||||
(int)errorlen, errorbuf);
|
||||
"Failed getting DER of server certificate #%zu: %.*s", i,
|
||||
(int)errorlen, errorbuf);
|
||||
return map_error(rresult);
|
||||
}
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue