Lines 1-6
Link Here
|
1 |
--- deps/neverbleed/neverbleed.c.orig 2019-08-12 14:09:44 UTC |
1 |
--- deps/neverbleed/neverbleed.c.orig 2019-08-12 14:09:44 UTC |
2 |
+++ deps/neverbleed/neverbleed.c |
2 |
+++ deps/neverbleed/neverbleed.c |
3 |
@@ -630,7 +630,7 @@ static int sign_stub(struct expbuf_t *buf) |
3 |
@@ -45,7 +45,9 @@ |
|
|
4 |
#endif |
5 |
#include "neverbleed.h" |
6 |
|
7 |
-#if (!defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x1010000fL) |
8 |
+#if (OPENSSL_VERSION_NUMBER >= 0x1010000fL \ |
9 |
+ || (defined(LIBRESSL_VERSION_NUMBER) \ |
10 |
+ && LIBRESSL_VERSION_NUMBER >= 0x3050300fL)) |
11 |
#define OPENSSL_1_1_API 1 |
12 |
#else |
13 |
#define OPENSSL_1_1_API 0 |
14 |
@@ -630,7 +632,7 @@ static int sign_stub(struct expbuf_t *buf) |
4 |
return 0; |
15 |
return 0; |
5 |
} |
16 |
} |