diff --git a/NEWS b/NEWS index cc572a7c86..b1a703456f 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ Changes in 3.1.12 ================= +* FIX: dhx uams: build with LibreSSL, GitHub#91 Changes in 3.1.11 ================= diff --git a/etc/uams/openssl_compat.h b/etc/uams/openssl_compat.h index 463c8254c5..ded377bc36 100644 --- a/etc/uams/openssl_compat.h +++ b/etc/uams/openssl_compat.h @@ -11,7 +11,7 @@ The full license text is available at: #ifndef OPENSSL_COMPAT_H #define OPENSSL_COMPAT_H -#if OPENSSL_VERSION_NUMBER < 0x10100000L +#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) { /* If the fields p and g in d are NULL, the corresponding input