From 8d85b9564284a66aa28a0cbb759090b777698e43 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 26 Mar 2017 11:07:31 -0400 Subject: Attempt to simplify the libressl checing (#3482) * Attempt to simplify the libressl checing * SHENANGINS * Attempted fix * More simplification --- src/_cffi_src/openssl/bio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/_cffi_src/openssl/bio.py') diff --git a/src/_cffi_src/openssl/bio.py b/src/_cffi_src/openssl/bio.py index a134d9b6..72a513e6 100644 --- a/src/_cffi_src/openssl/bio.py +++ b/src/_cffi_src/openssl/bio.py @@ -138,7 +138,7 @@ void BIO_clear_retry_flags(BIO *); """ CUSTOMIZATIONS = """ -#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_110PRE4 || defined(LIBRESSL_VERSION_NUMBER) +#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_110PRE4 int BIO_up_ref(BIO *b) { CRYPTO_add(&b->references, 1, CRYPTO_LOCK_BIO); return 1; -- cgit v1.2.3