소스 검색

disable SSLv2 by default in the wrapper as well

Oswald Buddenhagen 12 년 전
부모
커밋
312f4be4b2
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/compat/isync.1
  2. 1 1
      src/compat/main.c

+ 1 - 1
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

+ 1 - 1
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;
 			}