dovecot-2.2: test-http-client: Allow invalid SSL certs in tests.

dovecot at dovecot.org dovecot at dovecot.org
Sun Apr 7 15:03:40 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/6bddc6d3530c
changeset: 16220:6bddc6d3530c
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Apr 07 15:03:36 2013 +0300
description:
test-http-client: Allow invalid SSL certs in tests.

diffstat:

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

diffs (12 lines):

diff -r abe0256dd3c0 -r 6bddc6d3530c src/lib-http/test-http-client.c
--- a/src/lib-http/test-http-client.c	Sun Apr 07 15:02:46 2013 +0300
+++ b/src/lib-http/test-http-client.c	Sun Apr 07 15:03:36 2013 +0300
@@ -328,7 +328,7 @@
 
 	memset(&http_set, 0, sizeof(http_set));
 	http_set.dns_client_socket_path = "/var/run/dovecot/dns-client";
-	http_set.debug = TRUE;
+	http_set.ssl_allow_invalid_cert = TRUE;
 	http_set.ssl_ca_dir = "/etc/ssl/certs";
 	http_set.max_idle_time_msecs = 5*1000;
 	http_set.max_parallel_connections = 4;


More information about the dovecot-cvs mailing list