1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Remove patch file that is no longer needed

(forgotten in previous commit)
This commit is contained in:
Johan van Selst 2017-05-12 20:58:08 +00:00
parent e8ffcd0b9f
commit d82137e4aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440714

View File

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