From: Frank Lichtenheld Date: Fri, 8 Dec 2023 17:35:29 +0000 (+0100) Subject: unit_tests: remove includes for mock_msg.h X-Git-Tag: v2.6.9~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2a9c1ba947fbe18af124583cc30eb1b2bd2aab0;p=thirdparty%2Fopenvpn.git unit_tests: remove includes for mock_msg.h Not actually used. Change-Id: I5e394bb73702d87562ed354100eaff9b41f5389e Signed-off-by: Frank Lichtenheld Acked-by: Arne Schwabe Message-Id: <20231208173529.95023-1-frank@lichtenheld.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27727.html Signed-off-by: Gert Doering (cherry picked from commit 9b4ed6d801b3c67f6b5f5341e5a1b161778d0d32) --- diff --git a/tests/unit_tests/openvpn/test_auth_token.c b/tests/unit_tests/openvpn/test_auth_token.c index d96984f41..a02733058 100644 --- a/tests/unit_tests/openvpn/test_auth_token.c +++ b/tests/unit_tests/openvpn/test_auth_token.c @@ -36,8 +36,6 @@ #include "auth_token.c" -#include "mock_msg.h" - struct test_context { struct tls_multi multi; struct key_type kt; diff --git a/tests/unit_tests/openvpn/test_crypto.c b/tests/unit_tests/openvpn/test_crypto.c index 58eebc049..4b1627a65 100644 --- a/tests/unit_tests/openvpn/test_crypto.c +++ b/tests/unit_tests/openvpn/test_crypto.c @@ -38,7 +38,6 @@ #include "options.h" #include "ssl_backend.h" -#include "mock_msg.h" #include "mss.h" static const char testtext[] = "Dummy text to test PEM encoding"; diff --git a/tests/unit_tests/openvpn/test_packet_id.c b/tests/unit_tests/openvpn/test_packet_id.c index 90c67acd7..2a2a9736b 100644 --- a/tests/unit_tests/openvpn/test_packet_id.c +++ b/tests/unit_tests/openvpn/test_packet_id.c @@ -36,8 +36,6 @@ #include "packet_id.h" #include "reliable.h" -#include "mock_msg.h" - struct test_packet_id_write_data { struct { uint32_t buf_id; diff --git a/tests/unit_tests/openvpn/test_pkt.c b/tests/unit_tests/openvpn/test_pkt.c index 9f49ee7bd..7f0518414 100644 --- a/tests/unit_tests/openvpn/test_pkt.c +++ b/tests/unit_tests/openvpn/test_pkt.c @@ -40,7 +40,6 @@ #include "ssl_pkt.h" #include "tls_crypt.h" -#include "mock_msg.h" #include "mss.h" #include "reliable.h" diff --git a/tests/unit_tests/openvpn/test_tls_crypt.c b/tests/unit_tests/openvpn/test_tls_crypt.c index ed7c7948c..465543a74 100644 --- a/tests/unit_tests/openvpn/test_tls_crypt.c +++ b/tests/unit_tests/openvpn/test_tls_crypt.c @@ -36,8 +36,6 @@ #include "tls_crypt.c" -#include "mock_msg.h" - /* Define this function here as dummy since including the ssl_*.c files * leads to having to include even more unrelated code */ bool