From: Matěj Cepl Date: Mon, 1 Feb 2016 13:40:53 +0000 (+0100) Subject: Build without SSLv3 being compiled in. X-Git-Tag: accepted/tools/devbase/tools/legacy/20240422.110834~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5015799de7fb1dc08b584c0044d8393e4062ff34;p=tools%2Fpython-M2Crypto.git Build without SSLv3 being compiled in. Fixes #99 Origin: https://gitlab.com/m2crypto/m2crypto/commit/d6b509030dfa12ee299f0de623fb78f2223e6579 Change-Id: I8a19d6cc0ff545e4202b7d422d9442bfe4e7145d Signed-off-by: Sangjung Woo --- diff --git a/SWIG/_ssl.i b/SWIG/_ssl.i index 2844da7..c66418a 100644 --- a/SWIG/_ssl.i +++ b/SWIG/_ssl.i @@ -52,8 +52,10 @@ extern const char *SSL_alert_desc_string_long(int); %rename(sslv2_method) SSLv2_method; extern SSL_METHOD *SSLv2_method(void); #endif +#ifndef OPENSSL_NO_SSL3 %rename(sslv3_method) SSLv3_method; extern SSL_METHOD *SSLv3_method(void); +#endif %rename(sslv23_method) SSLv23_method; extern SSL_METHOD *SSLv23_method(void); %rename(tlsv1_method) TLSv1_method;