summaryrefslogtreecommitdiffstats
path: root/dev-libs/skyutils/files/without-ssl3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/skyutils/files/without-ssl3.patch')
-rw-r--r--dev-libs/skyutils/files/without-ssl3.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-libs/skyutils/files/without-ssl3.patch b/dev-libs/skyutils/files/without-ssl3.patch
new file mode 100644
index 00000000..7cd824a6
--- /dev/null
+++ b/dev-libs/skyutils/files/without-ssl3.patch
@@ -0,0 +1,14 @@
+--- a/src/web.c.orig 2006-04-24 08:44:09 UTC
++++ b/src/web.c
+@@ -123,7 +123,11 @@ SSL_CTX *SU_SSL_InitializeCTX(char *pcEr
+ char errormsg[1024];
+ SSL_CTX *sslctx;
+
++#ifndef OPENSSL_NO_SSL3
+ sslctx = SSL_CTX_new(SSLv3_client_method());
++#else
++ sslctx = SSL_CTX_new(SSLv23_client_method());
++#endif
+ if(sslctx == NULL)
+ {
+ ERR_error_string(ERR_get_error(), errormsg);