Skip to contentSkip to conversation

unit_tests: Add missing cert_data.h to source list for unit tests

PATCH In review Frank Lichtenheld 2 participants 2 messages Jun 21, 2023 – Jun 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 unit_tests: Add missing cert_data.h to source list for unit tests

Document the dependency. Also fixes cert_data.h missing from distribution.

This is the "backport" of commit 97223cb057a0edfafd28b34427449bb3eda7d0be to release/2.6.

Change-Id Ib82208bfa12cc8ba5ff08b4c010bf398bc92d249
---
 tests/unit_tests/openvpn/Makefile.am | 1 +
 1 file changed, 1 insertion(+)
tests/unit_tests/openvpn/Makefile.am +1 -0
index 4391a54e..650126c7 100644
@@ -156,6 +156,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 \
+	cert_data.h \
 	$(top_srcdir)/src/openvpn/xkey_helper.c \
 	$(top_srcdir)/src/openvpn/xkey_provider.c \
 	$(top_srcdir)/src/openvpn/buffer.c \
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw

Verified by building a tarball on 2.6, cert_data.h is now included.

Your patch has been applied to the release/2.6 branch.

commit 5eb84eb19749eb7e12f3becb36d6aaae89457b5b

Author: Frank Lichtenheld
Date:   Wed Jun 21 14:58:42 2023 +0200
     unit_tests: Add missing cert_data.h to source list for unit tests

     Signed-off-by: Frank Lichtenheld <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg26765.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering