diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-02-27 11:41:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-27 11:41:04 (GMT) |
commit | 4c842b09209ccf1b4f853106b1f58bb888da02ef (patch) | |
tree | 9390478224d3e0ca976edf471790831c14c1a303 /Lib/idlelib/pyparse.py | |
parent | 89c2051a554d2053ac87b0adbf11ed0f1bb65db3 (diff) | |
download | cpython-4c842b09209ccf1b4f853106b1f58bb888da02ef.zip cpython-4c842b09209ccf1b4f853106b1f58bb888da02ef.tar.gz cpython-4c842b09209ccf1b4f853106b1f58bb888da02ef.tar.bz2 |
bpo-31453: Add setter for min/max protocol version (GH-5259)
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 698dde16f60729d9e3f53c23a4ddb8e5ffe818bf)
Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Lib/idlelib/pyparse.py')
0 files changed, 0 insertions, 0 deletions