Skip to content

bpo-43921: Fix test_ssl.test_wrong_cert_tls13() on Windows - #26502

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:test_ssl2
Jun 3, 2021
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:test_ssl2

Conversation

@vstinner

@vstinner vstinner commented Jun 3, 2021 •

Copy link
Copy Markdown
Member

Fix test_ssl.test_wrong_cert_tls13(): use suppress_ragged_eofs=False,
since read() can raise ssl.SSLEOFError on Windows.

https://bugs.python.org/issue43921

Fix test_ssl.test_wrong_cert_tls13(): use suppress_ragged_eofs=False,
since read() can raise ssl.SSLEOFError on Windows.
@vstinner

vstinner commented Jun 3, 2021

Copy link
Copy Markdown
Member Author

See #26501 (comment) for my debug notes on this issue.

@vstinner

vstinner commented Jun 3, 2021

Copy link
Copy Markdown
Member Author

cc @tiran @pablogsal: a PR fixing test_wrong_cert_tls13() similar to (but different than) my previous PR #26489 fixing test_pha_required_nocert().

@vstinner
vstinner merged commit ea0210f into python:main Jun 3, 2021
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@vstinner
vstinner deleted the test_ssl2 branch June 3, 2021 16:04
@miss-islington

Copy link
Copy Markdown
Contributor

Sorry @vstinner, I had trouble checking out the 3.10 backport branch.
Please backport using cherry_picker on command line.
cherry_picker ea0210fa8ccca769896847f25fc6fadfe9a717bc 3.10

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-26518 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 3, 2021
…26502)

Fix test_ssl.test_wrong_cert_tls13(): use suppress_ragged_eofs=False,
since read() can raise ssl.SSLEOFError on Windows.
(cherry picked from commit ea0210f)

Co-authored-by: Victor Stinner <vstinner@python.org>
vstinner added a commit that referenced this pull request Jun 3, 2021
…GH-26518)

Fix test_ssl.test_wrong_cert_tls13(): use suppress_ragged_eofs=False,
since read() can raise ssl.SSLEOFError on Windows.
(cherry picked from commit ea0210f)

Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants