aboutsummaryrefslogtreecommitdiffstats
path: root/mail/archiveopteryx-devel/files/patch-server_tlsthread.cpp
blob: bb0f90c58bb5b4e2b61aaa695e03162bbd877045 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- server/tlsthread.cpp.orig   2017-01-10 15:06:31 UTC
+++ server/tlsthread.cpp
@@ -93,7 +93,7 @@ void TlsThread::setup()
     SSL_library_init();
 
     ctx = ::SSL_CTX_new( SSLv23_server_method() );
-    int options = SSL_OP_ALL
+    long options = SSL_OP_ALL
                   // also try to pick the same ciphers suites more often
                   | SSL_OP_CIPHER_SERVER_PREFERENCE
                   // and don't use SSLv2, even if the client wants to