aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-cryptography/build_fix_openssl_1.0.1g.patch
blob: cbdc8ceaf24fc1c495382274db1da3c9c3687912 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
build issue do to openssl 1.0.1g upgrade

BIO *BIO_new_mem_buf(void *, int);
      ^
In file included from /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/include/openssl/asn1.h:65:0,
from build/temp.linux-x86_64-2.7/_openssl.c:413:


Upstream-Status: Pending

seems to be a known issue
https://github.com/pyca/cryptography/issues/2750

Signed-off-by: Armin Kuster <akuster@mvista.com>

Index: cryptography-0.8.1/src/cryptography/hazmat/bindings/openssl/bio.py
===================================================================
--- cryptography-0.8.1.orig/src/cryptography/hazmat/bindings/openssl/bio.py
+++ cryptography-0.8.1/src/cryptography/hazmat/bindings/openssl/bio.py
@@ -99,7 +99,7 @@ BIO *BIO_pop(BIO *);
 BIO *BIO_next(BIO *);
 BIO *BIO_find_type(BIO *, int);
 BIO_METHOD *BIO_s_mem(void);
-BIO *BIO_new_mem_buf(void *, int);
+BIO *BIO_new_mem_buf(const void *, int);
 BIO_METHOD *BIO_s_file(void);
 BIO *BIO_new_file(const char *, const char *);
 BIO *BIO_new_fp(FILE *, int);