forked from Lainports/opnsense-ports
11 lines
367 B
C
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
|