termux-packages/packages/nzbget/tlssocket.cpp.patch
Marcel Dopita 3bb128bfec nzbget: Update from 19.1 to 20.0
Also fixes overwriting of config file during package upgrade. Use config in etc
as default instead (leaves config in users home to allow overriding).
2018-06-20 01:37:25 +02:00

15 lines
417 B
Diff

diff --git a/daemon/connect/TlsSocket.cpp b/daemon/connect/TlsSocket.cpp
index 158101e4..2d426f22 100644
--- a/daemon/connect/TlsSocket.cpp
+++ b/daemon/connect/TlsSocket.cpp
@@ -214,7 +214,9 @@ void TlsSocket::Final()
//ENGINE_cleanup();
CONF_modules_free();
CONF_modules_unload(1);
+#ifndef OPENSSL_NO_COMP
COMP_zlib_cleanup();
+#endif
ERR_free_strings();
EVP_cleanup();
CRYPTO_cleanup_all_ex_data();