Skip to content

[3.10] gh-156793: Validate SSLContext.wrap_bio() parameters like wrap_socket() (GH-158503) - #158533

Merged
pablogsal merged 3 commits into
python:3.10from
Yhg1s:backport-869069d-3.10
Oct 1, 2026
Merged

pablogsal merged 3 commits into
python:3.10from
Yhg1s:backport-869069d-3.10

Conversation

@Yhg1s

@Yhg1s Yhg1s commented Sep 30, 2026

Copy link
Copy Markdown
Member

Co-authored-by: Hugo van Kemenade [email protected]
Co-authored-by: Seth Larson [email protected]
Co-authored-by: Bénédikt Tran [email protected]
Co-authored-by: Hugo van Kemenade [email protected]
Co-authored-by: T. Wouters [email protected]

…e wrap_socket() (pythonGH-158503) (pythonGH-158513)

* [3.12] pythongh-156793: Validate SSLContext.wrap_bio() parameters like wrap_socket() (pythonGH-158503)
(cherry picked from commit 1697ea3)

* Raise a DeprecationWarning instead of ValueError
(cherry picked from commit 869069d)

Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Seth Larson <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: T. Wouters <[email protected]>
@pablogsal
pablogsal enabled auto-merge (squash) October 1, 2026 00:32
@pablogsal
pablogsal merged commit 5867d4e into python:3.10 Oct 1, 2026
17 checks passed
icanhasmath pushed a commit to ActiveState/cpython that referenced this pull request Oct 28, 2026
…e wrap_socket() (pythonGH-158503) (python#158533)

* [3.10] pythongh-156793: Validate SSLContext.wrap_bio() parameters like wrap_socket() (pythonGH-158503) (pythonGH-158513)

* [3.12] pythongh-156793: Validate SSLContext.wrap_bio() parameters like wrap_socket() (pythonGH-158503)
(cherry picked from commit 1697ea3)

* Raise a DeprecationWarning instead of ValueError
(cherry picked from commit 869069d)

Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Seth Larson <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: T. Wouters <[email protected]>

* pythongh-156793: Start the SSL handshake in the 3.10 hostname validation tests

---------

Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Seth Larson <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Pablo Galindo Salgado <[email protected]>
(cherry picked from commit 5867d4e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants