aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/rsa.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2018-05-31 11:39:12 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2018-05-30 23:39:12 -0400
commit611fa5a0458a36bb8b13b3e251a5cd359fa34296 (patch)
tree1a47dc8ab149ef5fcbec3aded2547c2b14b89c1f /src/_cffi_src/openssl/rsa.py
parent8a64f1f2fbea73f0b7a4725768dc9597d240c661 (diff)
downloadcryptography-611fa5a0458a36bb8b13b3e251a5cd359fa34296.tar.gz
cryptography-611fa5a0458a36bb8b13b3e251a5cd359fa34296.tar.bz2
cryptography-611fa5a0458a36bb8b13b3e251a5cd359fa34296.zip
LibreSSL 2.7.x support (#4270)
* libre 2.7.3 compatibility * add a changelog * actually build against 2.7.3
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 9455433e..216e633a 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
+#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_110 && !CRYPTOGRAPHY_LIBRESSL_27_OR_GREATER
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