From 611fa5a0458a36bb8b13b3e251a5cd359fa34296 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 31 May 2018 11:39:12 +0800 Subject: LibreSSL 2.7.x support (#4270) * libre 2.7.3 compatibility * add a changelog * actually build against 2.7.3 --- src/_cffi_src/openssl/dh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/_cffi_src/openssl/dh.py') 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) { -- cgit v1.2.3