Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[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
miss-islington:backport-698dde1-3.7miss-islington/cpython:backport-698dde1-3.7Copy head branch name to clipboard
Feb 27, 2018
Merged

[3.7] bpo-31453: Add setter for min/max protocol version (GH-5259)#5926
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

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 27, 2018

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>
@miss-islington
Copy link
Contributor Author

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

1 similar comment
@miss-islington
Copy link
Contributor Author

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

@miss-islington
Copy link
Contributor Author

Thanks!

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.