void-packages/srcpkgs/python-M2Crypto/patches/SWIG.patch

15 lines
602 B
Diff

$OpenBSD: patch-SWIG__ssl_i,v 1.4 2015/10/25 15:29:13 rpe Exp $
--- SWIG/_ssl.i.orig Tue Oct 13 15:34:30 2015
+++ SWIG/_ssl.i Wed Oct 21 21:03:50 2015
@@ -52,10 +52,6 @@ extern const char *SSL_alert_desc_string(int);
%rename(ssl_get_alert_desc_v) SSL_alert_desc_string_long;
extern const char *SSL_alert_desc_string_long(int);
-%rename(sslv2_method) SSLv2_method;
-extern SSL_METHOD *SSLv2_method(void);
-%rename(sslv3_method) SSLv3_method;
-extern SSL_METHOD *SSLv3_method(void);
%rename(sslv23_method) SSLv23_method;
extern SSL_METHOD *SSLv23_method(void);
%rename(tlsv1_method) TLSv1_method;