ports/databases/mysql57-server/files/patch-mysys__ssl_my__kdf.h
Felix Palmen 5bdf39df0e databases/mysql57-server: Fix build w/ libressl3.5
Approved by:		joneum (maintainer), tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D37056
2022-11-07 08:56:58 +01:00

11 lines
384 B
C++

--- mysys_ssl/my_kdf.h.orig 2022-11-04 07:47:17 UTC
+++ mysys_ssl/my_kdf.h
@@ -61,7 +61,7 @@ class Key_derivation_function {
bool options_valid_;
};
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
/** Class to implement KDF method hkdf. */
class Key_hkdf_function : public Key_derivation_function {