You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging-gentoo/dev-libs/skyutils/files/without-ssl3.patch

15 lines
383 B

--- 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);