View | Details | Raw Unified | Return to bug 227860
Collapse All | Expand All

(-)net/netatalk3/files/patch-etc_uams_openssl__compat.h (-1 / +1 lines)
Lines 5-11 Link Here
5
 #define OPENSSL_COMPAT_H
5
 #define OPENSSL_COMPAT_H
6
 
6
 
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
9
 inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
9
 inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
10
 {
10
 {
11
    /* If the fields p and g in d are NULL, the corresponding input
11
    /* If the fields p and g in d are NULL, the corresponding input

Return to bug 227860