aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/rsa.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2019-11-10 19:16:56 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2019-11-11 08:16:56 +0800
commit1a73704b8cf432fb74fc9f52ed4a0ac6637e078f (patch)
tree0b2036c46ba8b368f44f349e2485e413021736d6 /src/_cffi_src/openssl/rsa.py
parent251321301546a8683099a42381e56d6230eda3a4 (diff)
downloadcryptography-1a73704b8cf432fb74fc9f52ed4a0ac6637e078f.tar.gz
cryptography-1a73704b8cf432fb74fc9f52ed4a0ac6637e078f.tar.bz2
cryptography-1a73704b8cf432fb74fc9f52ed4a0ac6637e078f.zip
Fixed #5050 -- dropped support for an old LibresSSL release (#5056)
* Fixed #5050 -- dropped support for an old LibresSSL release * Changelog
Diffstat (limited to 'src/_cffi_src/openssl/rsa.py')
-rw-r--r--src/_cffi_src/openssl/rsa.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_cffi_src/openssl/rsa.py b/src/_cffi_src/openssl/rsa.py
index 216e633a..4b915463 100644
--- a/src/_cffi_src/openssl/rsa.py
+++ b/src/_cffi_src/openssl/rsa.py
@@ -76,7 +76,7 @@ int (*EVP_PKEY_CTX_set0_rsa_oaep_label)(EVP_PKEY_CTX *, unsigned char *,
#endif
/* These functions were added in OpenSSL 1.1.0 */
-#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_110 && !CRYPTOGRAPHY_LIBRESSL_27_OR_GREATER
+#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_110 && !CRYPTOGRAPHY_IS_LIBRESSL
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