mbedtls/tests
Manuel Pégourié-Gonnard 6ad4f65780 Add test case for root with max_pathlen=0
This was already working but not tested so far

(Test case from previous commit still failing.)

Test certificates generated with:

programs/pkey/gen_key type=ec ec_curve=secp256r1 filename=cert91.key
programs/pkey/gen_key type=ec ec_curve=secp256r1 filename=cert92.key

programs/x509/cert_write serial=91 output_file=cert91.crt is_ca=1 \
    issuer_key=cert91.key issuer_name="CN=Root 9,O=mbed TLS,C=UK" \
    selfsign=1 max_pathlen=0
programs/x509/cert_write serial=92 output_file=cert92.crt \
    issuer_key=cert91.key issuer_name="CN=Root 9,O=mbed TLS,C=UK" \
    subject_key=cert92.key subject_name="CN=EE 92,O=mbed TLS,C=UK"

mv cert9?.crt tests/data_files/dir4
rm cert9?.key
2015-11-19 12:02:29 +01:00
..
data_files Add test case for root with max_pathlen=0 2015-11-19 12:02:29 +01:00
scripts More deprecated removal in all.sh 2015-09-02 12:12:44 +02:00
suites Add test case for root with max_pathlen=0 2015-11-19 12:02:29 +01:00
.gitignore Move some ignore patterns to subdirectories 2015-01-28 15:33:23 +00:00
CMakeLists.txt Rename project in CMake 2015-01-27 15:44:46 +00:00
compat.sh Use good DH params with OpenSSL in tests 2015-06-29 18:52:57 +02:00
Descriptions.txt Add selftest program to the list of tests 2014-04-04 16:33:01 +02:00
Makefile Fix portability issue in Makefile 2015-04-02 09:51:03 +01:00
ssl-opt.sh Make ssl-opt.sh more tolerant to start timeouts 2015-08-10 17:06:22 +02:00