From: Frank Lichtenheld Date: Mon, 19 Jun 2023 13:29:33 +0000 (+0200) Subject: unit_tests: Add missing cert_data.h to source list for unit tests X-Git-Tag: v2.7_alpha1~453 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97223cb057a0edfafd28b34427449bb3eda7d0be;p=thirdparty%2Fopenvpn.git unit_tests: Add missing cert_data.h to source list for unit tests Document the dependency. Also fixes cert_data.h missing from distribution. Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Message-Id: <20230619132934.76085-4-frank@lichtenheld.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26750.html Signed-off-by: Gert Doering --- diff --git a/tests/unit_tests/openvpn/Makefile.am b/tests/unit_tests/openvpn/Makefile.am index ccd0e37b3..dbf658ac7 100644 --- a/tests/unit_tests/openvpn/Makefile.am +++ b/tests/unit_tests/openvpn/Makefile.am @@ -162,7 +162,7 @@ cryptoapi_testdriver_CFLAGS = @TEST_CFLAGS@ \ cryptoapi_testdriver_LDFLAGS = @TEST_LDFLAGS@ \ $(OPTIONAL_CRYPTO_LIBS) -lcrypt32 -lncrypt cryptoapi_testdriver_SOURCES = test_cryptoapi.c mock_msg.c \ - pkey_test_utils.c \ + pkey_test_utils.c cert_data.h \ $(top_srcdir)/src/openvpn/xkey_helper.c \ $(top_srcdir)/src/openvpn/xkey_provider.c \ $(top_srcdir)/src/openvpn/buffer.c \ @@ -180,7 +180,7 @@ pkcs11_testdriver_CFLAGS = @TEST_CFLAGS@ \ pkcs11_testdriver_LDFLAGS = @TEST_LDFLAGS@ \ $(OPTIONAL_CRYPTO_LIBS) pkcs11_testdriver_SOURCES = test_pkcs11.c mock_msg.c \ - pkey_test_utils.c mock_get_random.c \ + pkey_test_utils.c cert_data.h mock_get_random.c \ $(top_srcdir)/src/openvpn/xkey_helper.c \ $(top_srcdir)/src/openvpn/xkey_provider.c \ $(top_srcdir)/src/openvpn/argv.c \