gh-95494: Fix transport EOF handling in OpenSSL 3.0 by davidben · Pull Request #95495 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions Lib/test/test_ssl.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
When built against OpenSSL 3.0, the ``ssl`` module had a bug where it
reported unauthenticated EOFs (i.e. without close_notify) as a clean
TLS-level EOF. It now raises ``SSLEOFError``, matching the behavior in
previous versions of OpenSSL.
14 changes: 10 additions & 4 deletions Modules/_ssl.c