diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-07 12:50:13 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-07 12:50:13 -0400 |
commit | c7a6f1dd0b521c3e89c74868fa1a9bfa20350e32 (patch) | |
tree | 2f0455464b305075737f7a71be36718cf1f2e3d7 | |
parent | 718e87129ccf3aa3116ec9b55e92f72b353b86eb (diff) | |
download | cryptography-c7a6f1dd0b521c3e89c74868fa1a9bfa20350e32.tar.gz cryptography-c7a6f1dd0b521c3e89c74868fa1a9bfa20350e32.tar.bz2 cryptography-c7a6f1dd0b521c3e89c74868fa1a9bfa20350e32.zip |
BIO macro switch for 0.9.8e support
-rw-r--r-- | cryptography/hazmat/bindings/openssl/bio.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cryptography/hazmat/bindings/openssl/bio.py b/cryptography/hazmat/bindings/openssl/bio.py index 279ad223..28172689 100644 --- a/cryptography/hazmat/bindings/openssl/bio.py +++ b/cryptography/hazmat/bindings/openssl/bio.py @@ -105,7 +105,6 @@ BIO *BIO_push(BIO *, BIO *); BIO *BIO_pop(BIO *); BIO *BIO_next(BIO *); BIO *BIO_find_type(BIO *, int); -int BIO_method_type(const BIO *); BIO_METHOD *BIO_s_mem(void); BIO *BIO_new_mem_buf(void *, int); BIO_METHOD *BIO_s_file(void); @@ -168,6 +167,10 @@ long BIO_set_read_buffer_size(BIO *, long); long BIO_set_write_buffer_size(BIO *, long); long BIO_set_buffer_size(BIO *, long); long BIO_set_buffer_read_data(BIO *, void *, long); + +/* The following was a macro in 0.9.8e. Once we drop support for RHEL/CentOS 5 + we should move this back to FUNCTIONS. */ +int BIO_method_type(const BIO *); """ CUSTOMIZATIONS = """ |