(self)
| 510 | ('http://SVRIntl-G3-crl.verisign.com/SVRIntlG3.crl',)) |
| 511 | |
| 512 | def test_parse_cert_CVE_2019_5010(self): |
| 513 | p = ssl._ssl._test_decode_cert(TALOS_INVALID_CRLDP) |
| 514 | if support.verbose: |
| 515 | sys.stdout.write("\n" + pprint.pformat(p) + "\n") |
| 516 | self.assertEqual( |
| 517 | p, |
| 518 | { |
| 519 | 'issuer': ( |
| 520 | (('countryName', 'UK'),), (('commonName', 'cody-ca'),)), |
| 521 | 'notAfter': 'Jun 14 18:00:58 2028 GMT', |
| 522 | 'notBefore': 'Jun 18 18:00:58 2018 GMT', |
| 523 | 'serialNumber': '02', |
| 524 | 'subject': ((('countryName', 'UK'),), |
| 525 | (('commonName', |
| 526 | 'codenomicon-vm-2.test.lal.cisco.com'),)), |
| 527 | 'subjectAltName': ( |
| 528 | ('DNS', 'codenomicon-vm-2.test.lal.cisco.com'),), |
| 529 | 'version': 3 |
| 530 | } |
| 531 | ) |
| 532 | |
| 533 | def test_parse_cert_CVE_2013_4238(self): |
| 534 | p = ssl._ssl._test_decode_cert(NULLBYTECERT) |
nothing calls this directly
no test coverage detected