3bb128bfec
Also fixes overwriting of config file during package upgrade. Use config in etc as default instead (leaves config in users home to allow overriding).
15 lines
417 B
Diff
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();
|