mirror of
https://github.com/curl/curl.git
synced 2026-08-26 15:13:34 +03:00
infof/failf calls: fix format specifiers
Update a few format specifiers to match what is being printed. Closes #6241
This commit is contained in:
parent
020aa0131b
commit
920f49a20b
12 changed files with 20 additions and 20 deletions
|
|
@ -1970,7 +1970,7 @@ static CURLcode sectransp_connect_step1(struct connectdata *conn,
|
|||
else {
|
||||
CURLcode result;
|
||||
ssl_sessionid =
|
||||
aprintf("%s:%d:%d:%s:%hu", ssl_cafile,
|
||||
aprintf("%s:%d:%d:%s:%ld", ssl_cafile,
|
||||
verifypeer, SSL_CONN_CONFIG(verifyhost), hostname, port);
|
||||
ssl_sessionid_len = strlen(ssl_sessionid);
|
||||
|
||||
|
|
@ -2189,7 +2189,7 @@ static CURLcode verify_cert(const char *cafile, struct Curl_easy *data,
|
|||
if(res < 0) {
|
||||
free(certbuf);
|
||||
CFRelease(array);
|
||||
failf(data, "SSL: invalid CA certificate #%d (offset %d) in bundle",
|
||||
failf(data, "SSL: invalid CA certificate #%d (offset %zu) in bundle",
|
||||
n, offset);
|
||||
return CURLE_SSL_CACERT_BADFILE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue