mbedtls/tests
Gilles Peskine 4ac28b8d1e x509parse_crl: more negative test cases
Add a few more negative test cases for mbedtls_x509_crl_parse.
The test data is manually adapted from the existing positive test case
"X509 CRL ASN1 (TBSCertList, sig present)" which decomposes as

305c
 3047                                   tbsCertList TBSCertList
  020100                                version INTEGER OPTIONAL
  300d                                  signatureAlgorithm AlgorithmIdentifier
   06092a864886f70d01010e
   0500
  300f                                  issuer Name
   310d300b0603550403130441424344
  170c303930313031303030303030          thisUpdate Time
  3014                                  revokedCertificates
   3012                                 entry 1
    8202abcd                            userCertificate CertificateSerialNumber
    170c303831323331323335393539        revocationDate Time
 300d                                   signatureAlgorithm AlgorithmIdentifier
  06092a864886f70d01010e
  0500
 03020001                               signatureValue BIT STRING

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2020-08-12 12:51:43 +02:00
..
.jenkins Add Jenkinsfile for PR job 2018-10-19 15:25:57 +01:00
configs Update license headers to Apache-2.0 OR GPL-2.0-or-later 2020-06-15 12:56:41 +02:00
data_files Update license headers to Apache-2.0 OR GPL-2.0-or-later 2020-06-15 12:56:41 +02:00
git-scripts Use all.sh in pre-push hook 2020-06-23 11:54:13 +02:00
scripts Rename Python scripts to use '_' and not '-' 2020-07-02 12:09:25 +02:00
suites x509parse_crl: more negative test cases 2020-08-12 12:51:43 +02:00
.gitignore Move some ignore patterns to subdirectories 2015-01-28 15:33:23 +00:00
CMakeLists.txt Add a facility to skip running some test suites 2018-12-14 18:50:34 +01:00
compat.sh Update license headers to Apache-2.0 OR GPL-2.0-or-later 2020-06-15 12:56:41 +02:00
Descriptions.txt Add selftest program to the list of tests 2014-04-04 16:33:01 +02:00
Makefile Merge remote-tracking branch 'origin/pr/2320' into mbedtls-2.7 2019-06-21 15:55:21 +01:00
ssl-opt.sh Update license headers to Apache-2.0 OR GPL-2.0-or-later 2020-06-15 12:56:41 +02:00