dovecot-2.2: lib-ssl: If debug=TRUE, set also SSL verbose=TRUE
dovecot at dovecot.org
dovecot at dovecot.org
Thu Apr 4 16:53:23 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/c040fa0fcfdf
changeset: 16157:c040fa0fcfdf
user: Timo Sirainen <tss at iki.fi>
date: Thu Apr 04 16:53:08 2013 +0300
description:
lib-ssl: If debug=TRUE, set also SSL verbose=TRUE
diffstat:
src/lib-http/http-client.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 4e9851e24c28 -r c040fa0fcfdf src/lib-http/http-client.c
--- a/src/lib-http/http-client.c Thu Apr 04 15:40:08 2013 +0300
+++ b/src/lib-http/http-client.c Thu Apr 04 16:53:08 2013 +0300
@@ -196,6 +196,8 @@
ssl_set.ca = client->set.ssl_ca;
ssl_set.verify_remote_cert = TRUE;
ssl_set.crypto_device = client->set.ssl_crypto_device;
+ ssl_set.verbose = client->set.debug;
+ ssl_set.verbose_invalid_cert = client->set.debug;
if (ssl_iostream_context_init_client(&ssl_set, &client->ssl_ctx, &error) < 0) {
*error_r = t_strdup_printf("Couldn't initialize SSL context: %s",
More information about the dovecot-cvs
mailing list