dovecot-2.2: lib-ssl-iostream: Call all of the OpenSSL deinit fu...

dovecot at dovecot.org dovecot at dovecot.org
Mon Nov 5 18:17:03 EET 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/94778985bb6a
changeset: 15378:94778985bb6a
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Nov 05 18:16:56 2012 +0200
description:
lib-ssl-iostream: Call all of the OpenSSL deinit functions at exit

diffstat:

 src/lib-ssl-iostream/iostream-openssl-context.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 84ea8ea6b9dc -r 94778985bb6a src/lib-ssl-iostream/iostream-openssl-context.c
--- a/src/lib-ssl-iostream/iostream-openssl-context.c	Mon Nov 05 14:27:52 2012 +0200
+++ b/src/lib-ssl-iostream/iostream-openssl-context.c	Mon Nov 05 18:16:56 2012 +0200
@@ -485,6 +485,8 @@
 		ENGINE_finish(ssl_iostream_engine);
 	ENGINE_cleanup();
 	EVP_cleanup();
+	CRYPTO_cleanup_all_ex_data();
+	ERR_remove_state(0);
 	ERR_free_strings();
 }
 


More information about the dovecot-cvs mailing list