mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 16:00:35 +08:00
15 lines
506 B
Diff
15 lines
506 B
Diff
|
diff --git a/Release/src/websockets/client/ws_client_wspp.cpp b/Release/src/websockets/client/ws_client_wspp.cpp
|
||
|
index 9f91d68..4b5d506 100644
|
||
|
--- a/Release/src/websockets/client/ws_client_wspp.cpp
|
||
|
+++ b/Release/src/websockets/client/ws_client_wspp.cpp
|
||
|
@@ -76,7 +76,9 @@ static struct ASIO_SSL_memory_leak_suppress
|
||
|
{
|
||
|
~ASIO_SSL_memory_leak_suppress()
|
||
|
{
|
||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||
|
::SSL_COMP_free_compression_methods();
|
||
|
+#endif
|
||
|
}
|
||
|
} ASIO_SSL_memory_leak_suppressor;
|
||
|
|