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/rsa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/_cffi_src/openssl/rsa.py') diff --git a/src/_cffi_src/openssl/rsa.py b/src/_cffi_src/openssl/rsa.py index e9074905..ed826ec6 100644 --- a/src/_cffi_src/openssl/rsa.py +++ b/src/_cffi_src/openssl/rsa.py @@ -80,7 +80,7 @@ int (*EVP_PKEY_CTX_set_rsa_oaep_md)(EVP_PKEY_CTX *, EVP_MD *) = NULL; #endif /* These functions were added in OpenSSL 1.1.0-pre5 (beta2) */ -#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_110PRE5 || defined(LIBRESSL_VERSION_NUMBER) +#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_110PRE5 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) { /* If the fields n and e in r are NULL, the corresponding input -- cgit v1.2.3