opnsense-ports/sysutils/afflib/files/patch-tools_hashextent.h
Franco Fichtner 7949c59275 */*: sync with upstream
Taken from: FreeBSD
2017-06-12 08:55:48 +02:00

11 lines
367 B
C

--- tools/hashextent.h.orig 2016-09-12 18:18:01 UTC
+++ tools/hashextent.h
@@ -19,7 +19,7 @@
#include <algorithm>
/* Support OpenSSL before 1.1.0 */
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
#define EVP_MD_CTX_new EVP_MD_CTX_create
#define EVP_MD_CTX_free EVP_MD_CTX_destroy
#endif