Skip to content

Commit f301d1d

Browse files
Fix compatibility with openssl 1.1.0
1 parent ec1119d commit f301d1d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Release/src/websockets/client/ws_client_wspp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ static struct ASIO_SSL_memory_leak_suppress
7373
{
7474
~ASIO_SSL_memory_leak_suppress()
7575
{
76+
#if OPENSSL_VERSION_NUMBER < 0x10100000L
7677
::SSL_COMP_free_compression_methods();
78+
#endif
7779
}
7880
} ASIO_SSL_memory_leak_suppressor;
7981

0 commit comments

Comments
 (0)