diff options
author | prspkt <prspkt@protonmail.com> | 2018-06-20 02:42:16 +0300 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-06-22 07:26:24 +0000 |
commit | 1475c049d444ba1d9525de900a56f0fc4615ff7c (patch) | |
tree | f5546462b307ece25fcf09435b3528b8a5b71eb9 /main/nghttp2/libressl-2.7.patch | |
parent | a68667230e709d4d1176e13ecd1e2f742115e55d (diff) | |
download | aports-1475c049d444ba1d9525de900a56f0fc4615ff7c.tar.bz2 aports-1475c049d444ba1d9525de900a56f0fc4615ff7c.tar.xz |
main/nghttp2: upgrade to 1.32.0
Diffstat (limited to 'main/nghttp2/libressl-2.7.patch')
-rw-r--r-- | main/nghttp2/libressl-2.7.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/main/nghttp2/libressl-2.7.patch b/main/nghttp2/libressl-2.7.patch deleted file mode 100644 index 8b3b793452..0000000000 --- a/main/nghttp2/libressl-2.7.patch +++ /dev/null @@ -1,43 +0,0 @@ -reported upstream: -https://github.com/nghttp2/nghttp2/issues/1156 - -diff --git a/configure.ac b/configure.ac -index 9445f93..1a8eae5 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -359,6 +359,11 @@ PKG_CHECK_MODULES([OPENSSL], [openssl >= 1.0.1], - if test "x${have_openssl}" = "xno"; then - AC_MSG_NOTICE($OPENSSL_PKG_ERRORS) - fi -+save_LIBS=$LIBS -+LIBS=$OPENSSL_LIBS -+AC_CHECK_FUNCS(BIO_set_data BIO_get_data BIO_set_init) -+LIBS=$save_LIBS -+ - - # c-ares (for src) - PKG_CHECK_MODULES([LIBCARES], [libcares >= 1.7.5], [have_libcares=yes], -diff --git a/src/shrpx_connection.cc b/src/shrpx_connection.cc -index 06ad958..e5cf1be 100644 ---- a/src/shrpx_connection.cc -+++ b/src/shrpx_connection.cc -@@ -44,13 +44,15 @@ using namespace nghttp2; - - namespace shrpx { - --#if !OPENSSL_1_1_API -- -+#ifndef HAVE_BIO_GET_DATA - void *BIO_get_data(BIO *bio) { return bio->ptr; } -+#endif -+#ifndef HAVE_BIO_SET_DATA - void BIO_set_data(BIO *bio, void *ptr) { bio->ptr = ptr; } -+#endif -+#ifndef HAVE_BIO_SET_INIT - void BIO_set_init(BIO *bio, int init) { bio->init = init; } -- --#endif // !OPENSSL_1_1_API -+#endif - - Connection::Connection(struct ev_loop *loop, int fd, SSL *ssl, - MemchunkPool *mcpool, ev_tstamp write_timeout, |