mirror of
https://github.com/curl/curl.git
synced 2026-06-01 22:14:17 +03:00
x509asn1: make Curl_extract_certinfo store error message
To help us all better understand where the error actually comes from. Ref: #13958 Closes #13959
This commit is contained in:
parent
92f42761d2
commit
8dc4493d54
1 changed files with 2 additions and 0 deletions
|
|
@ -1228,6 +1228,8 @@ CURLcode Curl_extract_certinfo(struct Curl_easy *data,
|
|||
result = ssl_push_certinfo_dyn(data, certnum, "Cert", &out);
|
||||
|
||||
done:
|
||||
if(result)
|
||||
failf(data, "Failed extracting certificate chain");
|
||||
Curl_dyn_free(&out);
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue