force test server to speak tlsv1

This commit is contained in:
Benjamin Peterson 2015-01-07 11:42:38 -06:00
parent e27a421354
commit aacd524118
1 changed files with 1 additions and 1 deletions

View File

@ -3163,7 +3163,7 @@ else:
self.assertIn("TypeError", stderr.getvalue())
def test_shared_ciphers(self):
server_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
server_context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
client_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
client_context.set_ciphers("3DES")
server_context.set_ciphers("3DES:AES")