[3.7] bpo-31453: Add setter for min/max protocol version (GH-5259)#5926
Merged
miss-islington merged 1 commit intopython:3.7python/cpython:3.7from Feb 27, 2018
miss-islington:backport-698dde1-3.7miss-islington/cpython:backport-698dde1-3.7Copy head branch name to clipboard
Merged
[3.7] bpo-31453: Add setter for min/max protocol version (GH-5259)#5926miss-islington merged 1 commit intopython:3.7python/cpython:3.7from miss-islington:backport-698dde1-3.7miss-islington/cpython:backport-698dde1-3.7Copy head branch name to clipboard
miss-islington merged 1 commit intopython:3.7python/cpython:3.7from
miss-islington:backport-698dde1-3.7miss-islington/cpython:backport-698dde1-3.7Copy head branch name to clipboard
Conversation
OpenSSL 1.1 has introduced a new API to set the minimum and maximum supported protocol version. The API is easier to use than the old OP_NO_TLS1 option flags, too. Since OpenSSL has no call to set minimum version to highest supported, the implementation emulate maximum_version = MINIMUM_SUPPORTED and minimum_version = MAXIMUM_SUPPORTED by figuring out the minumum and maximum supported version at compile time. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 698dde1) Co-authored-by: Christian Heimes <christian@python.org>
Contributor
Author
|
@tiran: Backport status check is done, and it's a success ✅ . |
1 similar comment
Contributor
Author
|
@tiran: Backport status check is done, and it's a success ✅ . |
tiran
approved these changes
Feb 27, 2018
Contributor
Author
|
Thanks! |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OpenSSL 1.1 has introduced a new API to set the minimum and maximum
supported protocol version. The API is easier to use than the old
OP_NO_TLS1 option flags, too.
Since OpenSSL has no call to set minimum version to highest supported,
the implementation emulate maximum_version = MINIMUM_SUPPORTED and
minimum_version = MAXIMUM_SUPPORTED by figuring out the minumum and
maximum supported version at compile time.
Signed-off-by: Christian Heimes christian@python.org
(cherry picked from commit 698dde1)
Co-authored-by: Christian Heimes christian@python.org
https://bugs.python.org/issue31453