python-M2Crypto/M2Crypto-0.22.5-SSLv2_link_error.patch

13 lines
534 B
Diff

diff -ur M2Crypto-0.22.5/SWIG/_ssl.i M2Crypto-0.22.5_fix/SWIG/_ssl.i
--- M2Crypto-0.22.5/SWIG/_ssl.i 2015-10-13 16:34:30.000000000 +0200
+++ M2Crypto-0.22.5_fix/SWIG/_ssl.i 2015-12-07 14:24:14.302731623 +0100
@@ -52,8 +52,6 @@
%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;