diff options
| author | Thomas Grainger <tagrain@gmail.com> | 2023-04-28 19:00:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-28 22:00:37 +0400 |
| commit | 7052b83d543d9554e542ff04688cf473b1fbaa53 (patch) | |
| tree | 279d6cb47f714484cfa944bdfd024cd106dfe7da | |
| parent | 6446fef0cf432ca035169602a1447a0d8ef53e80 (diff) | |
| download | urllib3-7052b83d543d9554e542ff04688cf473b1fbaa53.tar.gz | |
Delete 0002-Stop-relying-on-removed-DEFAULT_CIPHERS.patch (#2996)
| -rw-r--r-- | ci/0002-Stop-relying-on-removed-DEFAULT_CIPHERS.patch | 34 | ||||
| -rw-r--r-- | noxfile.py | 1 |
2 files changed, 0 insertions, 35 deletions
diff --git a/ci/0002-Stop-relying-on-removed-DEFAULT_CIPHERS.patch b/ci/0002-Stop-relying-on-removed-DEFAULT_CIPHERS.patch deleted file mode 100644 index e533a8c1..00000000 --- a/ci/0002-Stop-relying-on-removed-DEFAULT_CIPHERS.patch +++ /dev/null @@ -1,34 +0,0 @@ -From dcc55a54fe2ba3b403923e95ab329009a9f430e2 Mon Sep 17 00:00:00 2001 -From: Quentin Pradet <quentin.pradet@gmail.com> -Date: Fri, 19 Aug 2022 11:02:11 +0400 -Subject: [PATCH] Stop relying on removed DEFAULT_CIPHERS - ---- - botocore/httpsession.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/botocore/httpsession.py b/botocore/httpsession.py -index 29b210377..aaecb454b 100644 ---- a/botocore/httpsession.py -+++ b/botocore/httpsession.py -@@ -19,7 +19,6 @@ from urllib3.exceptions import ReadTimeoutError as URLLib3ReadTimeoutError - from urllib3.exceptions import SSLError as URLLib3SSLError - from urllib3.util.retry import Retry - from urllib3.util.ssl_ import ( -- DEFAULT_CIPHERS, - OP_NO_COMPRESSION, - PROTOCOL_TLS, - OP_NO_SSLv2, -@@ -99,7 +98,8 @@ def create_urllib3_context( - - context = SSLContext(ssl_version) - -- context.set_ciphers(ciphers or DEFAULT_CIPHERS) -+ if ciphers: -+ context.set_ciphers(ciphers) - - # Setting the default here, as we may have no ssl module on import - cert_reqs = ssl.CERT_REQUIRED if cert_reqs is None else cert_reqs --- -2.37.2 - @@ -100,7 +100,6 @@ def downstream_botocore(session: nox.Session) -> None: session.chdir("botocore") for patch in [ "0001-Mark-100-Continue-tests-as-failing.patch", - "0002-Stop-relying-on-removed-DEFAULT_CIPHERS.patch", ]: session.run("git", "apply", f"{root}/ci/{patch}", external=True) session.run("git", "rev-parse", "HEAD", external=True) |
