Don't call SSL_COMP_free_compression_methods if SSL_OP_NO_COMPRESSION is defined.
This commit is contained in:
parent
129c654e3c
commit
9a7ccb9bf3
@ -79,10 +79,12 @@ public:
|
||||
::ERR_remove_thread_state(NULL);
|
||||
#endif // (OPENSSL_VERSION_NUMBER < 0x10000000L)
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x10002000L) \
|
||||
&& (OPENSSL_VERSION_NUMBER < 0x10100000L)
|
||||
&& (OPENSSL_VERSION_NUMBER < 0x10100000L) \
|
||||
&& !defined(SSL_OP_NO_COMPRESSION)
|
||||
::SSL_COMP_free_compression_methods();
|
||||
#endif // (OPENSSL_VERSION_NUMBER >= 0x10002000L)
|
||||
// && (OPENSSL_VERSION_NUMBER < 0x10100000L)
|
||||
// && !defined(SSL_OP_NO_COMPRESSION)
|
||||
#if !defined(OPENSSL_IS_BORINGSSL)
|
||||
::CONF_modules_unload(1);
|
||||
#endif // !defined(OPENSSL_IS_BORINGSSL)
|
||||
|
Loading…
Reference in New Issue
Block a user