[Openvpn-devel,2.6] unit_tests: Add missing cert_data.h to source list for unit tests

Message ID 20230621125842.191355-1-frank@lichtenheld.com
State Accepted
Headers show
Series [Openvpn-devel,2.6] unit_tests: Add missing cert_data.h to source list for unit tests | expand

Commit Message

Frank Lichtenheld June 21, 2023, 12:58 p.m. UTC
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
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
---
 tests/unit_tests/openvpn/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

Comments

Gert Doering June 27, 2023, 6:39 p.m. UTC | #1
Acked-by: Gert Doering <gert@greenie.muc.de>

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 <frank@lichtenheld.com>
     Acked-by: Gert Doering <gert@greenie.muc.de>
     Message-Id: <20230621125842.191355-1-frank@lichtenheld.com>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26765.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>


--
kind regards,

Gert Doering

Patch

diff --git a/tests/unit_tests/openvpn/Makefile.am b/tests/unit_tests/openvpn/Makefile.am
index 4391a54e..650126c7 100644
--- a/tests/unit_tests/openvpn/Makefile.am
+++ b/tests/unit_tests/openvpn/Makefile.am
@@ -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 \