aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Lichtenheld2023-12-08 18:35:29 +0100
committerGert Doering2023-12-09 11:01:13 +0100
commite2a9c1ba947fbe18af124583cc30eb1b2bd2aab0 (patch)
treefed62ab8b7db890dcd804e11ec66694b2046ec3c
parent5552391a362e16f02e41b056ea18b89b2e49a757 (diff)
downloadopenvpn-e2a9c1ba947fbe18af124583cc30eb1b2bd2aab0.zip
openvpn-e2a9c1ba947fbe18af124583cc30eb1b2bd2aab0.tar.gz
unit_tests: remove includes for mock_msg.h
Not actually used. Change-Id: I5e394bb73702d87562ed354100eaff9b41f5389e Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com> Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org> 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 <gert@greenie.muc.de> (cherry picked from commit 9b4ed6d801b3c67f6b5f5341e5a1b161778d0d32)
-rw-r--r--tests/unit_tests/openvpn/test_auth_token.c2
-rw-r--r--tests/unit_tests/openvpn/test_crypto.c1
-rw-r--r--tests/unit_tests/openvpn/test_packet_id.c2
-rw-r--r--tests/unit_tests/openvpn/test_pkt.c1
-rw-r--r--tests/unit_tests/openvpn/test_tls_crypt.c2
5 files changed, 0 insertions, 8 deletions
diff --git a/tests/unit_tests/openvpn/test_auth_token.c b/tests/unit_tests/openvpn/test_auth_token.c
index d96984f..a027330 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 58eebc0..4b1627a 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 90c67ac..2a2a973 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 9f49ee7..7f05184 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 ed7c794..465543a 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