Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Commit

Permalink
#435: fixed compiling error with older OpenSSL versions
Browse files Browse the repository at this point in the history
  • Loading branch information
hugbug committed Aug 31, 2017
1 parent 13263eb commit 6975f24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions daemon/connect/TlsSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,9 @@ void TlsSocket::Final()
CRYPTO_set_id_callback(nullptr);
#endif
ERR_remove_state(0);
#if OPENSSL_VERSION_NUMBER >= 0x10002000L
SSL_COMP_free_compression_methods();
#endif
//ENGINE_cleanup();
CONF_modules_free();
CONF_modules_unload(1);
Expand Down

0 comments on commit 6975f24

Please sign in to comment.