Alan Huang added 2 commits
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
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters