Manuel Pégourié-Gonnard 8b4331aa56 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 11:10:33 +01:00
..
2013-11-28 18:07:39 +01:00
2013-11-28 18:07:39 +01:00
2013-11-28 18:07:39 +01:00
2014-03-13 19:25:06 +01:00
2015-06-17 14:27:38 +02:00
2014-04-04 16:42:44 +02:00
2013-10-10 15:11:33 +02:00
2013-10-10 15:11:33 +02:00
2013-10-10 15:11:33 +02:00
2013-10-10 15:11:33 +02:00
2013-10-10 15:11:33 +02:00
2013-10-10 15:11:33 +02:00
2015-04-15 11:21:24 +02:00
2013-07-08 17:32:26 +02:00
2013-07-08 17:32:26 +02:00
2014-03-14 08:41:02 +01:00
2015-09-01 17:24:42 +02:00
2015-09-01 17:24:42 +02:00
2013-08-20 20:46:03 +02:00
2014-03-13 19:25:06 +01:00
2014-06-02 16:10:29 +02:00
2014-06-02 16:10:29 +02:00
2014-06-02 16:10:29 +02:00
2014-06-02 16:10:29 +02:00
2014-06-02 16:10:29 +02:00
2015-09-01 17:24:42 +02:00
2015-09-01 17:24:42 +02:00
2015-09-01 17:24:42 +02:00