Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | build issue do to openssl 1.0.1g upgrade |
| 2 | |
| 3 | BIO *BIO_new_mem_buf(void *, int); |
| 4 | ^ |
| 5 | In file included from /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/include/openssl/asn1.h:65:0, |
| 6 | from build/temp.linux-x86_64-2.7/_openssl.c:413: |
| 7 | |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | |
| 11 | seems to be a known issue |
| 12 | https://github.com/pyca/cryptography/issues/2750 |
| 13 | |
| 14 | Signed-off-by: Armin Kuster <akuster@mvista.com> |
| 15 | |
| 16 | Index: src/_cffi_src/openssl/bio.py |
| 17 | =================================================================== |
| 18 | --- a/src/_cffi_src/openssl/bio.py |
| 19 | +++ b/src/_cffi_src/openssl/bio.py |
| 20 | @@ -99,7 +99,7 @@ BIO *BIO_pop(BIO *); |
| 21 | BIO *BIO_next(BIO *); |
| 22 | BIO *BIO_find_type(BIO *, int); |
| 23 | BIO_METHOD *BIO_s_mem(void); |
| 24 | -BIO *BIO_new_mem_buf(void *, int); |
| 25 | +BIO *BIO_new_mem_buf(const void *, int); |
| 26 | BIO_METHOD *BIO_s_file(void); |
| 27 | BIO *BIO_new_file(const char *, const char *); |
| 28 | BIO *BIO_new_fp(FILE *, int); |