We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b72a910 commit 4c3edd6Copy full SHA for 4c3edd6
Release/src/http/client/x509_cert_utilities.cpp
@@ -51,7 +51,12 @@ bool verify_cert_chain_platform_specific(boost::asio::ssl::verify_context& verif
51
return true;
52
}
53
54
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
55
STACK_OF(X509)* certStack = X509_STORE_CTX_get_chain(storeContext);
56
+#else
57
+ STACK_OF(X509)* certStack = X509_STORE_CTX_get0_chain(storeContext);
58
+#endif
59
+
60
const int numCerts = sk_X509_num(certStack);
61
if (numCerts < 0)
62
{
0 commit comments