These two ifdef needs to be the same otherwise the compiler will
break with a undefined function.
Change-Id: I5b14bf90bb07935f0bb84373ec4e62352752c03f
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20240402063646.25490-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28512.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
| ... | ... |
@@ -2166,7 +2166,8 @@ print_server_tempkey(SSL *ssl, char *buf, size_t buflen) |
| 2166 | 2166 |
EVP_PKEY_free(pkey); |
| 2167 | 2167 |
} |
| 2168 | 2168 |
|
| 2169 |
-#if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x1010000fL |
|
| 2169 |
+#if (!defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x1010000fL) \ |
|
| 2170 |
+ || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x3090000fL) |
|
| 2170 | 2171 |
/** |
| 2171 | 2172 |
* Translate an OpenSSL NID into a more human readable name |
| 2172 | 2173 |
* @param nid |