aboutsummaryrefslogtreecommitdiffstats
path: root/community/h2o/h2o-libressl-2.7.0.patch
diff options
context:
space:
mode:
authorBennett Goble <nivardus@gmail.com>2018-06-01 19:53:03 -0700
committerNatanael Copa <ncopa@alpinelinux.org>2018-06-07 07:42:49 +0000
commit938d6f0c37a674f9e60163bc4558ef9fbd7efb7d (patch)
treecb3d244e53f97e576c1bbe43647c0515cf00a900 /community/h2o/h2o-libressl-2.7.0.patch
parent3ae7da2d35482dfd83eac51ad405359ad2208139 (diff)
downloadaports-938d6f0c37a674f9e60163bc4558ef9fbd7efb7d.tar.bz2
aports-938d6f0c37a674f9e60163bc4558ef9fbd7efb7d.tar.xz
community/h2o: security upgrade to 2.2.5 (CVE-2018-0608)
Diffstat (limited to 'community/h2o/h2o-libressl-2.7.0.patch')
-rw-r--r--community/h2o/h2o-libressl-2.7.0.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/h2o/h2o-libressl-2.7.0.patch b/community/h2o/h2o-libressl-2.7.0.patch
new file mode 100644
index 0000000000..ba4cdbd652
--- /dev/null
+++ b/community/h2o/h2o-libressl-2.7.0.patch
@@ -0,0 +1,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)
+ {
+