dovecot-2.2: lib-fs: fs-test now sets the ssl_client_set.ca_dir

dovecot at dovecot.org dovecot at dovecot.org
Tue Mar 19 11:52:22 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/70dd78cd89ab
changeset: 16040:70dd78cd89ab
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Mar 19 11:52:15 2013 +0200
description:
lib-fs: fs-test now sets the ssl_client_set.ca_dir

diffstat:

 src/lib-fs/Makefile.am |  1 +
 src/lib-fs/fs-test.c   |  6 ++++++
 2 files changed, 7 insertions(+), 0 deletions(-)

diffs (32 lines):

diff -r cf9f36e8ada0 -r 70dd78cd89ab src/lib-fs/Makefile.am
--- a/src/lib-fs/Makefile.am	Tue Mar 19 11:42:51 2013 +0200
+++ b/src/lib-fs/Makefile.am	Tue Mar 19 11:52:15 2013 +0200
@@ -4,6 +4,7 @@
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/src/lib \
+	-I$(top_srcdir)/src/lib-ssl-iostream \
 	-DMODULE_DIR=\""$(moduledir)"\"
 
 libfs_la_SOURCES = \
diff -r cf9f36e8ada0 -r 70dd78cd89ab src/lib-fs/fs-test.c
--- a/src/lib-fs/fs-test.c	Tue Mar 19 11:42:51 2013 +0200
+++ b/src/lib-fs/fs-test.c	Tue Mar 19 11:52:15 2013 +0200
@@ -4,11 +4,17 @@
 #include "ioloop.h"
 #include "istream.h"
 #include "ostream.h"
+#include "iostream-ssl.h"
 #include "fs-api.h"
 
 #include <stdio.h>
 
+static const struct ssl_iostream_settings ssl_set = {
+	.ca_dir = "/etc/ssl/certs" /* FIXME: some parameter to change this? */
+};
+
 static const struct fs_settings fs_set = {
+	.ssl_client_set = &ssl_set,
 	.temp_dir = "/tmp"
 };
 


More information about the dovecot-cvs mailing list