mbedtls/tests
Gilles Peskine b2281e1cf0 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-07-16 18:18:22 +02:00
..
.jenkins
configs Add a test component with malloc(0) returning NULL 2020-02-11 19:26:28 +01:00
data_files Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
docker/bionic
git-scripts Merge pull request #2639 from mpg/use-all-sh-checks-for-pre-push 2020-06-23 14:37:16 +02:00
include/test Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
scripts Merge branch 'development-restricted' into mbedtls-2.23.0r0 2020-06-25 09:17:25 +01:00
src Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
suites x509parse_crl: more negative test cases 2020-07-16 18:18:22 +02:00
.gitignore tests: Add helpers.c and helpers.h files 2020-06-12 14:33:00 +02:00
CMakeLists.txt tests: Add helpers.c and helpers.h files 2020-06-12 14:33:00 +02:00
compat-in-docker.sh
compat.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
context-info.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
Descriptions.txt Revert "Remove tests that depend on TLS or X.509" 2020-03-19 14:17:54 +01:00
make-in-docker.sh
Makefile tests: Add helpers.c and helpers.h files 2020-06-12 14:33:00 +02:00
ssl-opt-in-docker.sh
ssl-opt.sh Merge pull request #3430 from bensze01/license 2020-06-18 15:54:26 +01:00