From 312f4be4b28564d7de3264d49504431b71676f7b Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sun, 24 Mar 2013 11:10:36 +0100 Subject: [PATCH] disable SSLv2 by default in the wrapper as well --- src/compat/isync.1 | 2 +- src/compat/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compat/isync.1 b/src/compat/isync.1 index 1463f8a..7c176d3 100644 --- a/src/compat/isync.1 +++ b/src/compat/isync.1 @@ -261,7 +261,7 @@ File containing X.509 CA certificates used to verify server identities. .TP \fBUseSSLv2\fR \fIyes\fR|\fIno\fR Should \fBisync\fR use SSLv2 for communication with the IMAP server over SSL? -(Default: \fIyes\fR if the imaps port is used, otherwise \fIno\fR) +(Default: \fIno\fR) .. .TP \fBUseSSLv3\fR \fIyes\fR|\fIno\fR diff --git a/src/compat/main.c b/src/compat/main.c index a8dca85..1ff0554 100644 --- a/src/compat/main.c +++ b/src/compat/main.c @@ -254,7 +254,7 @@ main( int argc, char **argv ) if (!strncasecmp( "imaps:", optarg, 6 )) { global.use_imaps = 1; global.port = 993; - global.use_sslv2 = 1; + global.use_sslv2 = 0; global.use_sslv3 = 1; optarg += 6; }