Dirk Mueller
c7db0b07f9
- cryptography-new-bio-new-type.patch: openssl 1.0.2g changed the type of BIO_new_mem_buf() (added a const). OBS-URL: https://build.opensuse.org/request/show/364667 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=32
14 lines
545 B
Diff
14 lines
545 B
Diff
Index: cryptography-1.2.1/src/_cffi_src/openssl/bio.py
|
|
===================================================================
|
|
--- cryptography-1.2.1.orig/src/_cffi_src/openssl/bio.py
|
|
+++ cryptography-1.2.1/src/_cffi_src/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);
|