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

(-)sysutils/afflib/files/patch-lib_aftest.cpp (+11 lines)
Line 0 Link Here
1
--- lib/aftest.cpp.orig	2016-09-12 18:18:01 UTC
2
+++ lib/aftest.cpp
3
@@ -39,7 +39,7 @@ const char *tempdir = "/tmp/";
4
 #endif
5
 
6
 /* Support OpenSSL before 1.1.0 */
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
9
 #define EVP_MD_CTX_new EVP_MD_CTX_create
10
 #define EVP_MD_CTX_free EVP_MD_CTX_destroy
11
 #endif
(-)sysutils/afflib/files/patch-lib_crypto.cpp (+11 lines)
Line 0 Link Here
1
--- lib/crypto.cpp.orig	2016-09-12 18:18:01 UTC
2
+++ lib/crypto.cpp
3
@@ -26,7 +26,7 @@ using namespace std;
4
 #endif
5
 
6
 /* Support OpenSSL before 1.1.0 */
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
9
 #define EVP_MD_CTX_new EVP_MD_CTX_create
10
 #define EVP_MD_CTX_free EVP_MD_CTX_destroy
11
 #endif
(-)sysutils/afflib/files/patch-tools_aff__bom.cpp (+11 lines)
Line 0 Link Here
1
--- tools/aff_bom.cpp.orig	2016-09-12 18:18:01 UTC
2
+++ tools/aff_bom.cpp
3
@@ -36,7 +36,7 @@
4
 #endif
5
 
6
 /* Support OpenSSL before 1.1.0 */
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
9
 #define EVP_MD_CTX_new EVP_MD_CTX_create
10
 #define EVP_MD_CTX_free EVP_MD_CTX_destroy
11
 #endif
(-)sysutils/afflib/files/patch-tools_affverify.cpp (+11 lines)
Line 0 Link Here
1
--- tools/affverify.cpp.orig	2016-09-12 18:18:01 UTC
2
+++ tools/affverify.cpp
3
@@ -28,7 +28,7 @@
4
 #include <openssl/x509.h>
5
 
6
 /* Support OpenSSL before 1.1.0 */
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
9
 #define EVP_MD_CTX_new EVP_MD_CTX_create
10
 #define EVP_MD_CTX_free EVP_MD_CTX_destroy
11
 #endif
(-)sysutils/afflib/files/patch-tools_hashextent.h (+11 lines)
Line 0 Link Here
1
--- tools/hashextent.h.orig	2016-09-12 18:18:01 UTC
2
+++ tools/hashextent.h
3
@@ -19,7 +19,7 @@
4
 #include <algorithm>
5
 
6
 /* Support OpenSSL before 1.1.0 */
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
9
 #define EVP_MD_CTX_new EVP_MD_CTX_create
10
 #define EVP_MD_CTX_free EVP_MD_CTX_destroy
11
 #endif

Return to bug 217048