16 lines
654 B
Plaintext
16 lines
654 B
Plaintext
$OpenBSD: patch-etc_uams_openssl_compat_h,v 1.1 2018/12/21 14:07:08 ajacoutot Exp $
|
|
|
|
Index: etc/uams/openssl_compat.h
|
|
--- etc/uams/openssl_compat.h.orig
|
|
+++ etc/uams/openssl_compat.h
|
|
@@ -11,7 +11,8 @@ http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
|
#ifndef OPENSSL_COMPAT_H
|
|
#define OPENSSL_COMPAT_H
|
|
|
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
|
|
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
|
|
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
|