FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.7] bpo-31453: Add setter for min/max protocol version (GH-5259) by miss-islington · Pull Request #5926 · python/cpython · GitHub

Repository navigation

[3.7] bpo-31453: Add setter for min/max protocol version (GH-5259) - #5926

Merged
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-698dde1-3.7
Feb 27, 2018
Merged

miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-698dde1-3.7

Conversation

miss-islington commented Feb 27, 2018 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

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

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>

Copy link
Copy Markdown
Contributor Author

@tiran: Backport status check is done, and it's a success ✅ .

1 similar comment

Copy link
Copy Markdown
Contributor Author

@tiran: Backport status check is done, and it's a success ✅ .

Copy link
Copy Markdown
Contributor Author

Thanks!

miss-islington deleted the backport-698dde1-3.7 branch February 27, 2018 11:41
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

Labels

type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL