(self)
| 429 | ('http://SVRIntl-G3-crl.verisign.com/SVRIntlG3.crl',)) |
| 430 | |
| 431 | def test_parse_cert_CVE_2019_5010(self): |
| 432 | p = ssl._ssl._test_decode_cert(TALOS_INVALID_CRLDP) |
| 433 | if support.verbose: |
| 434 | sys.stdout.write("\n" + pprint.pformat(p) + "\n") |
| 435 | self.assertEqual( |
| 436 | p, |
| 437 | { |
| 438 | 'issuer': ( |
| 439 | (('countryName', 'UK'),), (('commonName', 'cody-ca'),)), |
| 440 | 'notAfter': 'Jun 14 18:00:58 2028 GMT', |
| 441 | 'notBefore': 'Jun 18 18:00:58 2018 GMT', |
| 442 | 'serialNumber': '02', |
| 443 | 'subject': ((('countryName', 'UK'),), |
| 444 | (('commonName', |
| 445 | 'codenomicon-vm-2.test.lal.cisco.com'),)), |
| 446 | 'subjectAltName': ( |
| 447 | ('DNS', 'codenomicon-vm-2.test.lal.cisco.com'),), |
| 448 | 'version': 3 |
| 449 | } |
| 450 | ) |
| 451 | |
| 452 | def test_parse_cert_CVE_2013_4238(self): |
| 453 | p = ssl._ssl._test_decode_cert(NULLBYTECERT) |
nothing calls this directly
no test coverage detected