diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-01 14:22:32 -0600 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2016-03-01 22:15:10 -0500 |
commit | 64c9d893c3748e962d01a935625c58610826f23c (patch) | |
tree | 5a0b1bf2340b2510d4b80cc0061840c4f035ad1b /src/_cffi_src/openssl | |
parent | 85f28d7230098d64faf2555b4872bcee1d0ca0f3 (diff) | |
download | cryptography-64c9d893c3748e962d01a935625c58610826f23c.tar.gz cryptography-64c9d893c3748e962d01a935625c58610826f23c.tar.bz2 cryptography-64c9d893c3748e962d01a935625c58610826f23c.zip |
move BIO_new_mem_buf to macros to handle 1.0.2g signature change
Diffstat (limited to 'src/_cffi_src/openssl')
-rw-r--r-- | src/_cffi_src/openssl/bio.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/_cffi_src/openssl/bio.py b/src/_cffi_src/openssl/bio.py index ac866831..6439e63a 100644 --- a/src/_cffi_src/openssl/bio.py +++ b/src/_cffi_src/openssl/bio.py @@ -99,7 +99,6 @@ 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_METHOD *BIO_s_file(void); BIO *BIO_new_file(const char *, const char *); BIO *BIO_new_fp(FILE *, int); @@ -127,6 +126,8 @@ BIO_METHOD *BIO_f_buffer(void); """ MACROS = """ +/* BIO_new_mem_buf became const void * in 1.0.2g */ +BIO *BIO_new_mem_buf(void *, int); long BIO_set_fd(BIO *, long, int); long BIO_get_fd(BIO *, char *); long BIO_set_mem_eof_return(BIO *, int); |