aboutsummaryrefslogtreecommitdiff
path: root/devel/cpprestsdk/files/patch-src_websockets_client_ws__client__wspp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cpprestsdk/files/patch-src_websockets_client_ws__client__wspp.cpp')
-rw-r--r--devel/cpprestsdk/files/patch-src_websockets_client_ws__client__wspp.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/cpprestsdk/files/patch-src_websockets_client_ws__client__wspp.cpp b/devel/cpprestsdk/files/patch-src_websockets_client_ws__client__wspp.cpp
new file mode 100644
index 000000000000..d576a97084ac
--- /dev/null
+++ b/devel/cpprestsdk/files/patch-src_websockets_client_ws__client__wspp.cpp
@@ -0,0 +1,11 @@
+--- src/websockets/client/ws_client_wspp.cpp.orig 2023-12-05 04:23:31 UTC
++++ src/websockets/client/ws_client_wspp.cpp
+@@ -225,7 +225,7 @@ class wspp_callback_client : public websocket_client_c
+ verifyCtx, utility::conversions::to_utf8string(m_uri.host()));
+ }
+ #endif
+- boost::asio::ssl::rfc2818_verification rfc2818(utility::conversions::to_utf8string(m_uri.host()));
++ boost::asio::ssl::host_name_verification rfc2818(utility::conversions::to_utf8string(m_uri.host()));
+ return rfc2818(preverified, verifyCtx);
+ });
+