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
@ -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…
Reference in New Issue
Block a user