SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
www/h2o/patches/patch-lib_common_socket_c
Normal file
14
www/h2o/patches/patch-lib_common_socket_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
Silence compiler warning. The get_session_cb has had const since LibreSSL 2.8.
|
||||
|
||||
Index: lib/common/socket.c
|
||||
--- lib/common/socket.c.orig
|
||||
+++ lib/common/socket.c
|
||||
@@ -920,7 +920,7 @@ static void create_ossl(h2o_socket_t *sock)
|
||||
}
|
||||
|
||||
static SSL_SESSION *on_async_resumption_get(SSL *ssl,
|
||||
-#if OPENSSL_VERSION_NUMBER >= 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER)
|
||||
+#if OPENSSL_VERSION_NUMBER >= 0x1010000fL && (!defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER >= 0x2080000fL)
|
||||
const
|
||||
#endif
|
||||
unsigned char *data,
|
Loading…
Add table
Add a link
Reference in a new issue