summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ssl.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-12-19 12:27:11 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-12-19 12:27:11 (GMT)
commit6db4944cc57804391b554d96f3400944779617f0 (patch)
treea364d79be7e165d959069b3c099416f351e33458 /Lib/test/test_ssl.py
parentbfaa79a982f1aadfe2aa4e3fdc4ff75153286503 (diff)
downloadcpython-6db4944cc57804391b554d96f3400944779617f0.zip
cpython-6db4944cc57804391b554d96f3400944779617f0.tar.gz
cpython-6db4944cc57804391b554d96f3400944779617f0.tar.bz2
Issue #13635: Add ssl.OP_CIPHER_SERVER_PREFERENCE, so that SSL servers
choose the cipher based on their own preferences, rather than on the client's.
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r--Lib/test/test_ssl.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index a2b4040..288b714 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -98,6 +98,7 @@ class BasicSocketTests(unittest.TestCase):
ssl.CERT_NONE
ssl.CERT_OPTIONAL
ssl.CERT_REQUIRED
+ ssl.OP_CIPHER_SERVER_PREFERENCE
self.assertIn(ssl.HAS_SNI, {True, False})
def test_random(self):