Build without SSLv3 being compiled in.
authorMatěj Cepl <mcepl@cepl.eu>
Mon, 1 Feb 2016 13:40:53 +0000 (14:40 +0100)
committerSangjung Woo <sangjung.woo@samsung.com>
Mon, 23 May 2016 04:20:42 +0000 (13:20 +0900)
Fixes #99

Origin: https://gitlab.com/m2crypto/m2crypto/commit/d6b509030dfa12ee299f0de623fb78f2223e6579

Change-Id: I8a19d6cc0ff545e4202b7d422d9442bfe4e7145d
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
SWIG/_ssl.i

index 2844da7887225c9ff254674523ff4c3e6a188589..c66418a53b65654d73ee440ae0a2f8c673eab75e 100644 (file)
@@ -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;