dovecot-2.1: login: Do engine cleanups _after_ finishing the use...

dovecot at dovecot.org dovecot at dovecot.org
Thu Nov 24 01:53:12 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/9a474b7934c9
changeset: 13773:9a474b7934c9
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Nov 24 01:49:40 2011 +0200
description:
login: Do engine cleanups _after_ finishing the used engine.

diffstat:

 src/login-common/ssl-proxy-openssl.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r ca49f570f0c1 -r 9a474b7934c9 src/login-common/ssl-proxy-openssl.c
--- a/src/login-common/ssl-proxy-openssl.c	Thu Nov 24 01:45:59 2011 +0200
+++ b/src/login-common/ssl-proxy-openssl.c	Thu Nov 24 01:49:40 2011 +0200
@@ -1340,8 +1340,8 @@
 	ssl_free_parameters(&ssl_params);
 	SSL_CTX_free(ssl_client_ctx);
 	if (ssl_engine != NULL) {
+		ENGINE_finish(ssl_engine);
 		ENGINE_cleanup();
-		ENGINE_finish(ssl_engine);
 	}
 	EVP_cleanup();
 	ERR_free_strings();


More information about the dovecot-cvs mailing list