mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
one CERT_REQUIRED is enough
This commit is contained in:
parent
1dbf61fa46
commit
d6dc952e17
1 changed files with 0 additions and 1 deletions
|
|
@ -1801,7 +1801,6 @@ def test_crl_check(self):
|
|||
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
|
||||
context.verify_mode = ssl.CERT_REQUIRED
|
||||
context.load_verify_locations(SIGNING_CA)
|
||||
context.verify_mode = ssl.CERT_REQUIRED
|
||||
context.verify_flags = ssl.VERIFY_DEFAULT
|
||||
|
||||
# VERIFY_DEFAULT should pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue