mbedtls/tests/data_files
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
..
dir1
dir2
dir3
dir4
bitstring-in-dn.pem
cert_example_multi_nocn.crt
cert_example_multi.crt
cert_example_wildcard.crt
cert_md2.crt
cert_md4.crt
cert_md5.crt
cert_sha1.crt
cert_sha224.crt
cert_sha256.crt
cert_sha384.crt
cert_sha512.crt
cert_v1_with_ext.crt
cli2.crt
cli2.key
crl_cat_ec-rsa.pem
crl_cat_ecfut-rsa.pem
crl_cat_rsa-ec.pem
crl_cat_rsabadpem-ec.pem
crl_expired.pem
crl_md2.pem
crl_md4.pem
crl_md5.pem
crl_sha1.pem
crl_sha224.pem
crl_sha256.pem
crl_sha384.pem
crl_sha512.pem
crl-ec-sha1.pem
crl-ec-sha224.pem
crl-ec-sha256.pem
crl-ec-sha384.pem
crl-ec-sha512.pem
crl-future.pem
crl-rsa-pss-sha1-badsign.pem
crl-rsa-pss-sha1.pem
crl-rsa-pss-sha224.pem
crl-rsa-pss-sha256.pem
crl-rsa-pss-sha384.pem
crl-rsa-pss-sha512.pem
crl.pem
crt_cat_rsaexp-ec.pem
dh.1000.pem
dh.optlen.pem
dhparams.pem
ec_224_prv.pem
ec_224_pub.pem
ec_256_prv.pem
ec_256_pub.pem
ec_384_prv.pem
ec_384_pub.pem
ec_521_prv.pem
ec_521_pub.pem
ec_bp256_prv.pem
ec_bp256_pub.pem
ec_bp384_prv.pem
ec_bp384_pub.pem
ec_bp512_prv.pem
ec_bp512_pub.pem
ec_prv.noopt.der
ec_prv.pk8.der
ec_prv.pk8.pem
ec_prv.pk8.pw.der
ec_prv.pk8.pw.pem
ec_prv.sec1.der
ec_prv.sec1.pem
ec_prv.sec1.pw.pem
ec_prv.specdom.der
ec_pub.der
ec_pub.pem
enco-ca-prstr.pem
enco-cert-utf8str.pem
format_gen.key
format_gen.pub
format_pkcs12.fmt
format_rsa.key
hash_file_1
hash_file_2
hash_file_3
hash_file_4
hash_file_5
keyfile
keyfile.3des
keyfile.aes128
keyfile.aes192
keyfile.aes256
keyfile.des
keyUsage.decipherOnly.crt
mpi_10
mpi_too_big
passwd.psk
pkcs8_pbe_sha1_2des.key
pkcs8_pbe_sha1_3des.der
pkcs8_pbe_sha1_3des.key
pkcs8_pbe_sha1_rc4_128.key
pkcs8_pbes2_pbkdf2_3des.der
pkcs8_pbes2_pbkdf2_3des.key
pkcs8_pbes2_pbkdf2_des.key
Readme-x509.txt
rsa4096_prv.pem
rsa4096_pub.pem
server1_ca.crt
server1-nospace.crt
server1-v1.crt
server1.cert_type.crt
server1.crt
server1.ext_ku.crt
server1.key
server1.key_usage.crt
server1.pubkey
server1.req.cert_type
server1.req.key_usage
server1.req.ku-ct
server1.req.md4
server1.req.md5
server1.req.sha1
server1.req.sha224
server1.req.sha256
server1.req.sha384
server1.req.sha512
server1.v1.crt
server2-badsign.crt
server2-v1-chain.crt
server2-v1.crt
server2.crt
server2.key
server2.ku-ds_ke.crt
server2.ku-ds.crt
server2.ku-ka.crt
server2.ku-ke.crt
server3.crt
server3.key
server4.crt
server4.key
server5-badsign.crt
server5-expired.crt
server5-future.crt
server5-selfsigned.crt
server5-sha1.crt
server5-sha224.crt
server5-sha384.crt
server5-sha512.crt
server5.crt
server5.eku-cli.crt
server5.eku-cs_any.crt
server5.eku-cs.crt
server5.eku-srv_cli.crt
server5.eku-srv.crt
server5.key
server5.ku-ds.crt
server5.ku-ka.crt
server5.ku-ke.crt
server5.req.ku.sha1
server5.req.sha1
server5.req.sha224
server5.req.sha256
server5.req.sha384
server5.req.sha512
server6-ss-child.crt
server6.crt
server6.key
server7_all_space.crt
server7_int-ca_ca2.crt
server7_int-ca.crt
server7_pem_space.crt
server7_trailing_space.crt
server7.crt
server7.key
server8_int-ca2.crt
server8.crt
server8.key
server9-bad-mgfhash.crt
server9-bad-saltlen.crt
server9-badsign.crt
server9-defaults.crt
server9-sha224.crt
server9-sha256.crt
server9-sha384.crt
server9-sha512.crt
server9-with-ca.crt
server9.crt
server9.key
server9.req.sha1
server9.req.sha224
server9.req.sha256
server9.req.sha384
server9.req.sha512
server10_int3_int-ca2_ca.crt
server10_int3_int-ca2.crt
server10.key
test-ca2.crt
test-ca2.key
test-ca2.ku-crl.crt
test-ca2.ku-crt_crl.crt
test-ca2.ku-crt.crt
test-ca2.ku-ds.crt
test-ca_cat12.crt
test-ca_cat21.crt
test-ca-v1.crt
test-ca.crt
test-ca.key
test-int-ca2.crt
test-int-ca2.key
test-int-ca3.crt
test-int-ca3.key
test-int-ca.crt
test-int-ca.key