From b963081df14fb855ad3a04a9ec59b4f7c9dd0db0 Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Wed, 31 Oct 2018 16:28:05 +0000 Subject: [PATCH] Generate tests/data_files/test-ca_cat[12|21].crt from Makefile --- tests/data_files/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/data_files/Makefile b/tests/data_files/Makefile index a833984bf..dc14c11f6 100644 --- a/tests/data_files/Makefile +++ b/tests/data_files/Makefile @@ -75,6 +75,16 @@ all_final += test-ca-good-alt.crt test_ca_crt_file_ec = test-ca2.crt 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) $(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