View | Details | Raw Unified | Return to bug 242863 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +2 lines)
Lines 4-9 Link Here
4
PORTNAME=	h2o
4
PORTNAME=	h2o
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
DISTVERSION=	2.2.6
6
DISTVERSION=	2.2.6
7
PORTREVISION=	1
7
CATEGORIES=	www
8
CATEGORIES=	www
8
9
9
MAINTAINER=	dch@FreeBSD.org
10
MAINTAINER=	dch@FreeBSD.org
Lines 22-28 Link Here
22
USES=		cmake:noninja compiler:c11 cpe perl5 shebangfix ssl pkgconfig
23
USES=		cmake:noninja compiler:c11 cpe perl5 shebangfix ssl pkgconfig
23
USE_GITHUB=	yes
24
USE_GITHUB=	yes
24
USE_PERL5=	run
25
USE_PERL5=	run
25
USE_LDCONFIG=  yes
26
USE_LDCONFIG=	yes
26
27
27
CPE_VENDOR=	h2o_project
28
CPE_VENDOR=	h2o_project
28
29
(-)files/patch-deps_neverbleed-neverbleed.c (+39 lines)
Line 0 Link Here
1
--- deps/neverbleed/neverbleed.c.orig	2019-12-25 14:31:51 UTC
2
+++ deps/neverbleed/neverbleed.c
3
@@ -631,8 +631,11 @@ static int sign_stub(struct expbuf_t *buf)
4
 }
5
 
6
 #if !OPENSSL_1_1_API
7
-
8
+#if defined(LIBRESSL_VERSION_NUMBER)
9
+void RSA_get0_key(const RSA *rsa, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
10
+#else
11
 static void RSA_get0_key(const RSA *rsa, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
12
+#endif
13
 {
14
     if (n) {
15
         *n = rsa->n;
16
@@ -647,7 +650,11 @@ static void RSA_get0_key(const RSA *rsa, const BIGNUM 
17
     }
18
 }
19
 
20
+#if defined(LIBRESSL_VERSION_NUMBER)
21
+int RSA_set0_key(RSA *rsa, BIGNUM *n, BIGNUM *e, BIGNUM *d)
22
+#else
23
 static int RSA_set0_key(RSA *rsa, BIGNUM *n, BIGNUM *e, BIGNUM *d)
24
+#endif
25
 {
26
     if (n == NULL || e == NULL) {
27
         return 0;
28
@@ -663,7 +670,11 @@ static int RSA_set0_key(RSA *rsa, BIGNUM *n, BIGNUM *e
29
     return 1;
30
 }
31
 
32
+#if defined(LIBRESSL_VERSION_NUMBER)
33
+void RSA_set_flags(RSA *r, int flags)
34
+#else
35
 static void RSA_set_flags(RSA *r, int flags)
36
+#endif
37
 {
38
     r->flags |= flags;
39
 }

Return to bug 242863