mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
x509asn1.c: use correct format specifier for infof() call
Detected by Coverity Closes #10614
This commit is contained in:
parent
aa31f9a856
commit
22eec78027
@ -1127,7 +1127,7 @@ CURLcode Curl_extract_certinfo(struct Curl_easy *data,
|
||||
return result;
|
||||
}
|
||||
if(!certnum)
|
||||
infof(data, " Version: %lu (0x%lx)", version + 1, version);
|
||||
infof(data, " Version: %u (0x%x)", version + 1, version);
|
||||
|
||||
/* Serial number. */
|
||||
ccp = ASN1tostr(&cert.serialNumber, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user