File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ using namespace crossplat;
47
47
48
48
namespace web { namespace http { namespace client { namespace details {
49
49
50
+ #if defined(__APPLE__) || defined(ANDROID)
50
51
bool verify_cert_chain_platform_specific (boost::asio::ssl::verify_context &verifyCtx, const std::string &hostName)
51
52
{
52
53
X509_STORE_CTX *storeContext = verifyCtx.native_handle ();
@@ -90,6 +91,7 @@ bool verify_cert_chain_platform_specific(boost::asio::ssl::verify_context &verif
90
91
91
92
return verify_X509_cert_chain (certChain, hostName);
92
93
}
94
+ #endif
93
95
94
96
#if defined(__APPLE__)
95
97
Original file line number Diff line number Diff line change 30
30
#include " cpprest/containerstream.h"
31
31
#include " cpprest/ws_msg.h"
32
32
#include " cpprest/ws_client.h"
33
+ #include " cpprest/x509_cert_utilities.h"
33
34
#include < memory>
34
35
#include < thread>
35
36
You can’t perform that action at this time.
0 commit comments