[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-34001: Change handling of SSL protocol bounds with LibreSSL by alanhuang122 · Pull Request #8055 · python/cpython

the-knights-who-say-ni

Alan Huang added 2 commits

July 2, 2018 19:42
Under LibreSSL, bounds cannot be set such that minimum_version >
maximum_version. This commit codifies that behavior, and
introduces a new error message to indicate the issue.
LibreSSL behaves differently than OpenSSL when setting protocol
bounds. This commit fixes some failing tests and adds checks and
more detailed error messages.

Alan Huang added 3 commits

July 2, 2018 20:00
This commit fixes tests by removing invalid range settings.
This commit adds tests for the new {min,max}imum_version restrictions.
Attempting to set an invalid range should ValueError, and the value
should not be changed after the attempt.

tiran removed their request for review

April 17, 2021 21:04