summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2016-02-01 14:40:53 +0100
committerSangjung Woo <sangjung.woo@samsung.com>2016-05-23 13:20:42 +0900
commit5015799de7fb1dc08b584c0044d8393e4062ff34 (patch)
tree4cd9affabc2d48267bc081d4c34954500c6f7cd4
parent6f5a49b580f885e1d97bc4d50ee23498e46300e4 (diff)
downloadpython-M2Crypto-accepted/tizen_common.tar.gz
python-M2Crypto-accepted/tizen_common.tar.bz2
python-M2Crypto-accepted/tizen_common.zip
Build without SSLv3 being compiled in.tizen_5.5.m2_releasetizen_4.0.m2_releasetizen_4.0.m1_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_unified/20170309.044503submit/tizen_unified/20170308.100416submit/tizen_5.5_mobile_hotfix/20201026.185108submit/tizen_5.5/20191031.000008submit/tizen_5.0/20181101.000007submit/tizen_4.0/20170828.100007submit/tizen_4.0/20170811.094300submit/tizen_3.0_wearable/20161015.000005submit/tizen_3.0_tv/20161015.000005submit/tizen_3.0_mobile/20161015.000006submit/tizen_3.0_ivi/20161010.000006submit/tizen_3.0_common/20161104.104000submit/tizen_3.0.m2/20170104.093754submit/tizen/20160524.020840accepted/tizen/wearable/20160524.095342accepted/tizen/unified/20170309.044734accepted/tizen/unified/20170309.040450accepted/tizen/tv/20160524.095158accepted/tizen/mobile/20160524.095332accepted/tizen/ivi/20160524.095321accepted/tizen/common/20160524.072804accepted/tizen/5.5/unified/mobile/hotfix/20201027.072646accepted/tizen/5.5/unified/20191031.013858accepted/tizen/5.0/unified/20181102.030645accepted/tizen/4.0/unified/20170828.221801accepted/tizen/4.0/unified/20170816.013728accepted/tizen/3.0/wearable/20161015.084114accepted/tizen/3.0/tv/20161016.005752accepted/tizen/3.0/mobile/20161015.034155accepted/tizen/3.0/ivi/20161011.062436accepted/tizen/3.0/common/20161114.111533accepted/tizen/3.0.m2/wearable/20170105.025415accepted/tizen/3.0.m2/tv/20170105.025319accepted/tizen/3.0.m2/mobile/20170105.025216tizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.0tizen_4.0_tvtizen_4.0tizen_3.0_tvtizen_3.0.m2tizen_3.0accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.0_unifiedaccepted/tizen_4.0_unifiedaccepted/tizen_3.0_wearableaccepted/tizen_3.0_tvaccepted/tizen_3.0_mobileaccepted/tizen_3.0_iviaccepted/tizen_3.0_commonaccepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobile
Fixes #99 Origin: https://gitlab.com/m2crypto/m2crypto/commit/d6b509030dfa12ee299f0de623fb78f2223e6579 Change-Id: I8a19d6cc0ff545e4202b7d422d9442bfe4e7145d Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
-rw-r--r--SWIG/_ssl.i2
1 files changed, 2 insertions, 0 deletions
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;