aboutsummaryrefslogtreecommitdiffstats
path: root/community/h2o/h2o-libressl-2.7.0.patch
blob: ba4cdbd652332d148d791b6eebc393ec0b619bd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/deps/neverbleed/neverbleed.c b/deps/neverbleed/neverbleed.c
index 29b35a9..42356a6 100644
--- a/deps/neverbleed/neverbleed.c
+++ b/deps/neverbleed/neverbleed.c
@@ -547,7 +547,7 @@ static int sign_stub(struct expbuf_t *buf)
     return 0;
 }

-#if !OPENSSL_1_1_API
+#if !OPENSSL_1_1_API && (!defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x2070000fL)

 static void RSA_get0_key(const RSA *rsa, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
 {