Skip to content

Commit 4d63199

Browse files
committed
Adding missing include for x509_cert_utilities.h.
1 parent 8bebd66 commit 4d63199

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Release/src/http/client/x509_cert_utilities.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ using namespace crossplat;
4747

4848
namespace web { namespace http { namespace client { namespace details {
4949

50+
#if defined(__APPLE__) || defined(ANDROID)
5051
bool verify_cert_chain_platform_specific(boost::asio::ssl::verify_context &verifyCtx, const std::string &hostName)
5152
{
5253
X509_STORE_CTX *storeContext = verifyCtx.native_handle();
@@ -90,6 +91,7 @@ bool verify_cert_chain_platform_specific(boost::asio::ssl::verify_context &verif
9091

9192
return verify_X509_cert_chain(certChain, hostName);
9293
}
94+
#endif
9395

9496
#if defined(__APPLE__)
9597

Release/src/websockets/client/ws_client.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#include "cpprest/containerstream.h"
3131
#include "cpprest/ws_msg.h"
3232
#include "cpprest/ws_client.h"
33+
#include "cpprest/x509_cert_utilities.h"
3334
#include <memory>
3435
#include <thread>
3536

0 commit comments

Comments
 (0)