dovecot-2.2: lib-http: ssl_crypto_device and ssl_allow_invalid_c...

dovecot at dovecot.org dovecot at dovecot.org
Sun Apr 7 15:02:52 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/abe0256dd3c0
changeset: 16219:abe0256dd3c0
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Apr 07 15:02:46 2013 +0300
description:
lib-http: ssl_crypto_device and ssl_allow_invalid_cert settings were ignored.

diffstat:

 src/lib-http/http-client.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 3647c414c67d -r abe0256dd3c0 src/lib-http/http-client.c
--- a/src/lib-http/http-client.c	Sun Apr 07 14:56:19 2013 +0300
+++ b/src/lib-http/http-client.c	Sun Apr 07 15:02:46 2013 +0300
@@ -83,6 +83,8 @@
 		client->set.rawlog_dir = p_strdup(pool, set->rawlog_dir);
 	client->set.ssl_ca_dir = p_strdup(pool, set->ssl_ca_dir);
 	client->set.ssl_ca = p_strdup(pool, set->ssl_ca);
+	client->set.ssl_crypto_device = p_strdup(pool, set->ssl_crypto_device);
+	client->set.ssl_allow_invalid_cert = set->ssl_allow_invalid_cert;
 	client->set.max_idle_time_msecs = set->max_idle_time_msecs;
 	client->set.max_parallel_connections =
 		(set->max_parallel_connections > 0 ? set->max_parallel_connections : 1);


More information about the dovecot-cvs mailing list