You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for CURLINFO_SSL_VERIFYRESULT (docs/libcurl/opts/CURLINFO_SSL_VERIFYRESULT.3) does not explain the meaning of the value stored in the third argument of curl_easy_getinfo.
The source code suggests that 0 means success, non-zero - verification error.
It also seems that the example given contradicts the actual behavior of the library, printing "fine" on verification error, and "BAAAD" when the verification is ok.
The text was updated successfully, but these errors were encountered:
Yeah, the example seems reversed... and from all I can tell, CURLINFO_SSL_VERIFYRESULT is only set by the NSS and OpenSSL/libressl/boringssl backends...
The value is specific for the TLS backend curl is built to use so I don't think we will document the values any further than so. To get a feel for what the values mean in OpenSSL, check out their x509_vfy.h file.
The documentation for CURLINFO_SSL_VERIFYRESULT (
docs/libcurl/opts/CURLINFO_SSL_VERIFYRESULT.3
) does not explain the meaning of the value stored in the third argument ofcurl_easy_getinfo
.The source code suggests that 0 means success, non-zero - verification error.
It also seems that the example given contradicts the actual behavior of the library, printing "fine" on verification error, and "BAAAD" when the verification is ok.
The text was updated successfully, but these errors were encountered: