summaryrefslogtreecommitdiff
path: root/mail/wmmaiload/files/patch-wmmaiload_ssl.c
blob: a422839eec164a70b6d633ebc577df771a243275 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- wmmaiload/ssl.c.orig	2005-07-30 13:52:55 UTC
+++ wmmaiload/ssl.c
@@ -23,6 +23,8 @@
  *
  */
 
+#include <string.h>
+
 #include "config.h"
 
 #ifdef HAVE_SSL
@@ -39,7 +41,7 @@ static SSL_CTX *init_CTX(void)
 
         OpenSSL_add_all_algorithms();
 
-        method = SSLv2_client_method();
+        method = SSLv23_client_method();
         ctx = SSL_CTX_new(method);
         return ctx;
 }