From d82137e4aa16a90e6829e35f0f11dd60979af565 Mon Sep 17 00:00:00 2001 From: Johan van Selst Date: Fri, 12 May 2017 20:58:08 +0000 Subject: [PATCH] Remove patch file that is no longer needed (forgotten in previous commit) --- lang/swi-pl/files/patch-packages_ssl_ssl4pl.c | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 lang/swi-pl/files/patch-packages_ssl_ssl4pl.c diff --git a/lang/swi-pl/files/patch-packages_ssl_ssl4pl.c b/lang/swi-pl/files/patch-packages_ssl_ssl4pl.c deleted file mode 100644 index 3919e181019a..000000000000 --- a/lang/swi-pl/files/patch-packages_ssl_ssl4pl.c +++ /dev/null @@ -1,28 +0,0 @@ ---- packages/ssl/ssl4pl.c.orig 2015-06-09 09:25:57 UTC -+++ packages/ssl/ssl4pl.c -@@ -1127,8 +1127,12 @@ pl_ssl_context(term_t role, term_t confi - - if (!PL_get_atom(method, &method_name)) - return PL_domain_error("ssl_method", method); -- if (method_name == ATOM_sslv3) -+ if (0) -+ { /* never reached */ } -+#ifndef OPENSSL_NO_SSL3 -+ else if (method_name == ATOM_sslv3) - ssl_method = SSLv3_method(); -+#endif - #ifdef HAVE_SSLV2_METHOD - else if (method_name == ATOM_sslv2) - ssl_method = SSLv2_method(); -@@ -1736,9 +1740,11 @@ pl_ssl_session(term_t stream_t, term_t s - PL_INTEGER, (int)session->ssl_version)) - return FALSE; - -+#ifndef OPENSSL_NO_SSL2 - if ( !add_key_string(list_t, FUNCTOR_session_key1, - session->key_arg_length, session->key_arg) ) - return FALSE; -+#endif - - if ( !add_key_string(list_t, FUNCTOR_master_key1, - session->master_key_length, session->master_key) )