Manuel Pégourié-Gonnard a3aa43da5f Add test case for first intermediate max_pathlen=0
!!! This test case is currently failing !!!
(See fix in next-next commit.)

Test certificates generated with the following script:

programs/pkey/gen_key type=ec ec_curve=secp256r1 filename=cert81.key
programs/pkey/gen_key type=ec ec_curve=secp256r1 filename=cert82.key
programs/pkey/gen_key type=ec ec_curve=secp256r1 filename=cert83.key

programs/x509/cert_write serial=81 output_file=cert81.crt is_ca=1 \
    issuer_key=cert81.key issuer_name="CN=Root 8,O=mbed TLS,C=UK" \
    selfsign=1
programs/x509/cert_write serial=82 output_file=cert82.crt is_ca=1 \
    issuer_key=cert81.key issuer_name="CN=Root 8,O=mbed TLS,C=UK" \
    subject_key=cert82.key subject_name="CN=Int 82,O=mbed TLS,C=UK" \
    max_pathlen=0
programs/x509/cert_write serial=83 output_file=cert83.crt \
    issuer_key=cert82.key issuer_name="CN=Int 82,O=mbed TLS,C=UK" \
    subject_key=cert83.key subject_name="CN=EE 83,O=mbed TLS,C=UK"

mv cert8?.crt tests/data_files/dir4
rm cert8?.key
2015-11-19 10:56:30 +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