diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2022-07-07 16:34:22 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2022-07-09 11:13:56 -0400 |
commit | 83d94add3a06eeb205c1b39e84477aa6a68fb825 (patch) | |
tree | 063e48a5ab41af69b4c1628ae47d29c79addc5f6 /net-misc/curl | |
parent | net-wireless/bluez: Fix udev_reload call (diff) | |
download | gentoo-83d94add3a06eeb205c1b39e84477aa6a68fb825.tar.gz gentoo-83d94add3a06eeb205c1b39e84477aa6a68fb825.tar.bz2 gentoo-83d94add3a06eeb205c1b39e84477aa6a68fb825.zip |
net-misc/curl: remove unused patches
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'net-misc/curl')
-rw-r--r-- | net-misc/curl/files/curl-7.82.0-certs-processing.patch | 27 | ||||
-rw-r--r-- | net-misc/curl/files/curl-7.83.0-http2.patch | 30 |
2 files changed, 0 insertions, 57 deletions
diff --git a/net-misc/curl/files/curl-7.82.0-certs-processing.patch b/net-misc/curl/files/curl-7.82.0-certs-processing.patch deleted file mode 100644 index a62c1df20b30..000000000000 --- a/net-misc/curl/files/curl-7.82.0-certs-processing.patch +++ /dev/null @@ -1,27 +0,0 @@ -https://github.com/curl/curl/issues/8559 -https://bugs.gentoo.org/836629 - -From 911714d617c106ed5d553bf003e34ec94ab6a136 Mon Sep 17 00:00:00 2001 -From: Daniel Stenberg <daniel@haxx.se> -Date: Tue, 8 Mar 2022 13:38:13 +0100 -Subject: [PATCH] openssl: fix CN check error code - -Due to a missing 'else' this returns error too easily. - -Regressed in: d15692ebb - -Reported-by: Kristoffer Gleditsch -Fixes #8559 -Closes #8560 ---- a/lib/vtls/openssl.c -+++ b/lib/vtls/openssl.c -@@ -1817,7 +1817,8 @@ CURLcode Curl_ossl_verifyhost(struct Curl_easy *data, struct connectdata *conn, - memcpy(peer_CN, ASN1_STRING_get0_data(tmp), peerlen); - peer_CN[peerlen] = '\0'; - } -- result = CURLE_OUT_OF_MEMORY; -+ else -+ result = CURLE_OUT_OF_MEMORY; - } - } - else /* not a UTF8 name */ diff --git a/net-misc/curl/files/curl-7.83.0-http2.patch b/net-misc/curl/files/curl-7.83.0-http2.patch deleted file mode 100644 index ede69a177b98..000000000000 --- a/net-misc/curl/files/curl-7.83.0-http2.patch +++ /dev/null @@ -1,30 +0,0 @@ -Bug: https://bugs.gentoo.org/842780, https://github.com/curl/curl/pull/8768 -https://github.com/curl/curl/commit/6eb7fb37d901ed1e4ce07cbd628ee11bf02db1f3 - -From 6eb7fb37d901ed1e4ce07cbd628ee11bf02db1f3 Mon Sep 17 00:00:00 2001 -From: Daniel Stenberg <daniel@haxx.se> -Date: Thu, 28 Apr 2022 17:11:50 +0200 -Subject: [PATCH] mbedtls: fix compile when h2-enabled - -Fixes #8766 -Reported-by: LigH-de on github -Closes #8768 ---- - lib/vtls/mbedtls.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c -index 64f57c5d8321..5f9b87e6b75b 100644 ---- a/lib/vtls/mbedtls.c -+++ b/lib/vtls/mbedtls.c -@@ -815,8 +815,8 @@ mbed_connect_step2(struct Curl_easy *data, struct connectdata *conn, - if(next_protocol) { - infof(data, VTLS_INFOF_ALPN_ACCEPTED_1STR, next_protocol); - #ifdef USE_HTTP2 -- if(!strncmp(next_protocol, ALPN_H2, ALPN_H2_LEN) && -- !next_protocol[ALPN_H2_LEN]) { -+ if(!strncmp(next_protocol, ALPN_H2, ALPN_H2_LENGTH) && -+ !next_protocol[ALPN_H2_LENGTH]) { - conn->negnpn = CURL_HTTP_VERSION_2; - } - else |