Lines Matching refs:PROTOCOL_SSLv23
541 ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
679 ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
1160 self.assertEqual(ctx.protocol, ssl.PROTOCOL_SSLv23)
1173 self.assertEqual(ctx.protocol, ssl.PROTOCOL_SSLv23)
1182 self.assertEqual(ctx.protocol, ssl.PROTOCOL_SSLv23)
1200 self.assertEqual(ctx.protocol, ssl.PROTOCOL_SSLv23)
1219 self.assertEqual(ctx.protocol, ssl.PROTOCOL_SSLv23)
1445 ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
1480 ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
1491 ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
1507 ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
1516 ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
1612 ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
1630 ctx2 = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
2045 if client_context.protocol == ssl.PROTOCOL_SSLv23:
2091 context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
2291 try_protocol_combo(ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv23, False)
2297 try_protocol_combo(ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv23, False,
2299 try_protocol_combo(ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv23, False,
2301 try_protocol_combo(ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv23, False,
2311 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv2, True)
2319 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, False)
2320 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv23, True)
2321 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1, 'TLSv1')
2324 … try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, False, ssl.CERT_OPTIONAL)
2325 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv23, True, ssl.CERT_OPTIONAL)
2326 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1, 'TLSv1', ssl.CERT_OPTIONAL)
2329 … try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, False, ssl.CERT_REQUIRED)
2330 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv23, True, ssl.CERT_REQUIRED)
2331 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1, 'TLSv1', ssl.CERT_REQUIRED)
2335 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, False,
2338 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv23, True,
2340 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1, False,
2356 try_protocol_combo(ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv23, False,
2361 try_protocol_combo(ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv23,
2376 try_protocol_combo(ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_SSLv23, False,
2392 try_protocol_combo(ssl.PROTOCOL_TLSv1_1, ssl.PROTOCOL_SSLv23, False,
2395 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1_1, 'TLSv1.1')
2415 try_protocol_combo(ssl.PROTOCOL_TLSv1_2, ssl.PROTOCOL_SSLv23, False,
2418 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1_2, 'TLSv1.2')
2727 context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
2762 context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
2769 context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
2776 context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
2783 ssl_version=ssl.PROTOCOL_SSLv23,
2827 context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
3135 context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)