mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 13:28:16 +00:00
Generate tests/data_files/test-ca_cat[12|21].crt from Makefile
This commit is contained in:
parent
386f99c65c
commit
b963081df1
1 changed files with 10 additions and 0 deletions
|
@ -75,6 +75,16 @@ all_final += test-ca-good-alt.crt
|
||||||
test_ca_crt_file_ec = test-ca2.crt
|
test_ca_crt_file_ec = test-ca2.crt
|
||||||
test_ca_key_file_ec = test-ca2.key
|
test_ca_key_file_ec = test-ca2.key
|
||||||
|
|
||||||
|
test_ca_crt_cat12 = test-ca_cat12.crt
|
||||||
|
$(test_ca_crt_cat12): $(test_ca_crt) $(test_ca_crt_file_ec)
|
||||||
|
cat $(test_ca_crt) $(test_ca_crt_file_ec) > $@
|
||||||
|
all_final += $(test_ca_crt_cat12)
|
||||||
|
|
||||||
|
test_ca_crt_cat21 = test-ca_cat21.crt
|
||||||
|
$(test_ca_crt_cat21): $(test_ca_crt) $(test_ca_crt_file_ec)
|
||||||
|
cat $(test_ca_crt_file_ec) $(test_ca_crt) > $@
|
||||||
|
all_final += $(test_ca_crt_cat21)
|
||||||
|
|
||||||
test-int-ca.csr: test-int-ca.key $(test_ca_config_file)
|
test-int-ca.csr: test-int-ca.key $(test_ca_config_file)
|
||||||
$(OPENSSL) req -new -config $(test_ca_config_file) -key test-int-ca.key -subj "/C=NL/O=PolarSSL/CN=PolarSSL Test Intermediate CA" -out $@
|
$(OPENSSL) req -new -config $(test_ca_config_file) -key test-int-ca.key -subj "/C=NL/O=PolarSSL/CN=PolarSSL Test Intermediate CA" -out $@
|
||||||
all_intermediate += test-int-ca.csr
|
all_intermediate += test-int-ca.csr
|
||||||
|
|
Loading…
Reference in a new issue