diff options
author | Akinori Hattori <hattya@gentoo.org> | 2018-07-17 22:47:00 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2018-07-17 22:47:00 +0900 |
commit | 8b4cdbbea6c56a831eab3dc7c29380f833f5eba9 (patch) | |
tree | 29749dc6b669084dcfd9b5feb705eeeda61f52d2 /www-servers | |
parent | www-servers/h2o: add dev-libs/onigmo dependency (diff) | |
download | gentoo-8b4cdbbea6c56a831eab3dc7c29380f833f5eba9.tar.gz gentoo-8b4cdbbea6c56a831eab3dc7c29380f833f5eba9.tar.bz2 gentoo-8b4cdbbea6c56a831eab3dc7c29380f833f5eba9.zip |
www-servers/h2o: remove unused patch
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/h2o/files/h2o-2.2.4-libressl.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/www-servers/h2o/files/h2o-2.2.4-libressl.patch b/www-servers/h2o/files/h2o-2.2.4-libressl.patch deleted file mode 100644 index 3849dd0e2b68..000000000000 --- a/www-servers/h2o/files/h2o-2.2.4-libressl.patch +++ /dev/null @@ -1,54 +0,0 @@ ---- a/include/h2o/openssl_backport.h -+++ b/include/h2o/openssl_backport.h -@@ -25,7 +25,7 @@ - #include <stdlib.h> - - /* backports for OpenSSL 1.0.2 */ --#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - - #define BIO_get_data(bio) ((bio)->ptr) - #define BIO_set_data(bio, p) ((bio)->ptr = (p)) -@@ -57,7 +58,7 @@ static inline BIO_METHOD *BIO_meth_new(int type, const char *name) - #endif - - /* backports for OpenSSL 1.0.1 and LibreSSL */ --#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER < 0x10002000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - - #define SSL_is_server(ssl) ((ssl)->server) - ---- 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) - { - ---- a/deps/picotls/lib/openssl.c -+++ b/deps/picotls/lib/openssl.c -@@ -41,13 +41,15 @@ - #include "picotls.h" - #include "picotls/openssl.h" - --#if (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)) --#define OPENSSL_1_0_API 1 -+#if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000L -+#define OPENSSL_1_1_API 1 -+#elif defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x2070000fL -+#define OPENSSL_1_1_API 1 - #else --#define OPENSSL_1_0_API 0 -+#define OPENSSL_1_1_API 0 - #endif - --#if OPENSSL_1_0_API -+#if !OPENSSL_1_1_API - - #define EVP_PKEY_up_ref(p) CRYPTO_add(&(p)->references, 1, CRYPTO_LOCK_EVP_PKEY) - #define X509_STORE_up_ref(p) CRYPTO_add(&(p)->references, 1, CRYPTO_LOCK_X509_STORE) |