aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/dh.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/dh.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/dh.py')
-rw-r--r--src/_cffi_src/openssl/dh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_cffi_src/openssl/dh.py b/src/_cffi_src/openssl/dh.py
index 64172eb6..b0fd21f5 100644
--- a/src/_cffi_src/openssl/dh.py
+++ b/src/_cffi_src/openssl/dh.py
@@ -46,7 +46,7 @@ int Cryptography_i2d_DHxparams_bio(BIO *bp, DH *x);
CUSTOMIZATIONS = """
/* 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
void DH_get0_pqg(const DH *dh,
const BIGNUM **p, const BIGNUM **q, const BIGNUM **g)
{