python-cryptography: disable OpenSSL ALPN for now; does not work with libressl.
Close #904
This commit is contained in:
parent
8637bb678e
commit
f0764eda3c
2 changed files with 14 additions and 1 deletions
|
@ -0,0 +1,13 @@
|
||||||
|
Disable ALPN with libressl; won't work until 2.1.2.
|
||||||
|
|
||||||
|
--- src/cryptography/hazmat/bindings/openssl/ssl.py.orig 2015-01-21 16:43:51.457822382 +0100
|
||||||
|
+++ src/cryptography/hazmat/bindings/openssl/ssl.py 2015-01-21 16:44:24.320971331 +0100
|
||||||
|
@@ -530,7 +530,7 @@ static const long Cryptography_HAS_NEXTP
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* ALPN was added in OpenSSL 1.0.2. */
|
||||||
|
-#if OPENSSL_VERSION_NUMBER < 0x10002001L
|
||||||
|
+#if 1
|
||||||
|
int (*SSL_CTX_set_alpn_protos)(SSL_CTX *,
|
||||||
|
const unsigned char *,
|
||||||
|
unsigned) = NULL;
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-cryptography'
|
# Template file for 'python-cryptography'
|
||||||
pkgname=python-cryptography
|
pkgname=python-cryptography
|
||||||
version=0.7.2
|
version=0.7.2
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="cryptography-${version}"
|
wrksrc="cryptography-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue