From 207e97112b2627267a7fa8921d94457114700cb7 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Sun, 15 May 2016 13:39:26 -0700 Subject: python-cryptography: fix compile issue with openssl 1.0.2h this fixes: error: 'SSLv2_method' redeclared as different kind of symbol | SSL_METHOD* (*SSLv2_method)(void) = NULL; Signed-off-by: Armin Kuster Signed-off-by: Martin Jansa --- .../Comment_lingering_SSLv2_symbol.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-cryptography/Comment_lingering_SSLv2_symbol.patch (limited to 'meta-python/recipes-devtools/python/python-cryptography/Comment_lingering_SSLv2_symbol.patch') diff --git a/meta-python/recipes-devtools/python/python-cryptography/Comment_lingering_SSLv2_symbol.patch b/meta-python/recipes-devtools/python/python-cryptography/Comment_lingering_SSLv2_symbol.patch new file mode 100644 index 0000000000..b28e7efff1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-cryptography/Comment_lingering_SSLv2_symbol.patch @@ -0,0 +1,24 @@ +From f326e4a97cce6b9479560ce0c65ad18d54393f96 Mon Sep 17 00:00:00 2001 +From: Cory Benfield +Date: Mon, 14 Dec 2015 15:37:46 +0000 +Subject: [PATCH] Comment lingering SSLv2 symbol. + +--- + src/_cffi_src/openssl/ssl.py | 4 ++++ + 1 file changed, 4 insertions(+) + +Index: cryptography-1.1/src/_cffi_src/openssl/ssl.py +=================================================================== +--- cryptography-1.1.orig/src/_cffi_src/openssl/ssl.py ++++ cryptography-1.1/src/_cffi_src/openssl/ssl.py +@@ -421,6 +421,10 @@ const long SSL_OP_LEGACY_SERVER_CONNECT + static const long Cryptography_HAS_SECURE_RENEGOTIATION = 1; + #endif + ++/* Cryptography now compiles out all SSLv2 bindings. This exists to allow ++ * clients that use it to check for SSLv2 support to keep functioning as ++ * expected. ++ */ + static const long Cryptography_HAS_SSL2 = 0; + + #ifdef OPENSSL_NO_SSL3_METHOD -- cgit v1.2.3-54-g00ecf