mbedtls/tests
Hanno Becker 0f5acc18c5 Use ASN.1 NULL TLVs when testing invalid tags
Previously, a test exercising the X.509 CRT parser's behaviour
on unexpected tags would use a '00' byte in place of the tag
for the expected structure. This makes reviewing the examples
harder because the binary data isn't valid DER-encoded ASN.1.

This commit uses the ASN.1 NULL TLV '05 00' to test invalid
tags, and adapts surrounding structures' length values accordingly.
This eases reviewing because now the ASN.1 structures are still
well-formed at the place where the mismatch occurs.
2019-06-04 17:25:44 +01:00
..
.jenkins Add Jenkinsfile for PR job 2018-10-19 15:25:10 +01:00
data_files Add MD[245] test CRTs to tree 2019-06-03 14:22:59 +01:00
git-scripts Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
scripts Merge remote-tracking branch 'origin/pr/2403' into development 2019-05-23 09:08:55 +01:00
suites Use ASN.1 NULL TLVs when testing invalid tags 2019-06-04 17:25:44 +01:00
.gitignore Move some ignore patterns to subdirectories 2015-01-28 15:33:23 +00:00
CMakeLists.txt Add a link to the seedfile for out-of-tree cmake builds 2019-05-23 03:01:35 -04:00
compat.sh Adjust DES exclude lists in test scripts 2019-03-01 10:22:04 +01:00
Descriptions.txt Add selftest program to the list of tests 2014-04-04 16:33:01 +02:00
Makefile Force the usage of crypto submodule 2019-05-23 03:01:35 -04:00
ssl-opt.sh Add test for export keys functionality 2019-05-15 13:57:39 +03:00