From: "cron2 (Code Review)" Date: Sat, 9 Dec 2023 10:05:29 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="mWN9+6kbBco="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: unit_tests: remove includes for mock_msg.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: plaisthos , openvpn-devel --mWN9+6kbBco= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/46= 7?usp=3Demail ) Change subject: unit_tests: remove includes for mock_msg.h ...................................................................... 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@...2641...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27= 727.html Signed-off-by: Gert Doering --- M tests/unit_tests/openvpn/test_auth_token.c M tests/unit_tests/openvpn/test_crypto.c M tests/unit_tests/openvpn/test_packet_id.c M tests/unit_tests/openvpn/test_pkt.c M tests/unit_tests/openvpn/test_tls_crypt.c 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/open= vpn/test_crypto.c index 5564524..9e5469a 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[] =3D "Dummy text to test PEM encoding"; diff --git a/tests/unit_tests/openvpn/test_packet_id.c b/tests/unit_tests/o= penvpn/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/o= penvpn/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 -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/467?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I5e394bb73702d87562ed354100eaff9b41f5389e Gerrit-Change-Number: 467 Gerrit-PatchSet: 2 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-MessageType: merged --mWN9+6kbBco= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 submitted this change.

View Change

unit_tests: remove includes for mock_msg.h
=
Not actually used.

Change-Id: I5e394bb73702d87562ed354100eaff9b4= 1f5389e
Signed-off-by: Frank Lichtenheld <frank@...2641...>
Ack= ed-by: Arne Schwabe <arne-openvpn@...1227...>
Message-Id: <2023= 1208173529.95023-1-frank@...2641...>
URL: https://www.mail-archive.co= m/openvpn-devel@lists.sourceforge.net/msg27727.html
Signed-off-by: Gert = Doering <gert@...1296...>
---
M tests/unit_tests/openvpn/test_a= uth_token.c
M tests/unit_tests/openvpn/test_crypto.c
M tests/unit_tes= ts/openvpn/test_packet_id.c
M tests/unit_tests/openvpn/test_pkt.c
M t= ests/unit_tests/openvpn/test_tls_crypt.c
5 files changed, 0 insertions(+= ), 8 deletions(-)

diff --git a/tests/unit_tests/openvpn/test_auth_token.c b/tests/unit_tes=
ts/openvpn/test_auth_token.c
index d96984f..a027330 100644<= /span>
--- 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_test= s/openvpn/test_crypto.c
index 5564524..9e5469a 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"
#inc= lude "mss.h"

static const char= testtext[] =3D "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 {
uin= t32_t buf_id;
diff --git a/tests/unit_tests/openvpn/test_pk= t.c b/tests/unit_tests/openvpn/test_pkt.c
index 9f49ee7..7f= 05184 100644
--- a/tests/unit_tests/openvpn/test_pkt.c

+++ b/tests/unit_tests/openvpn/test_pkt.c
@@ -4= 0,7 +40,6 @@
#include "ssl_pkt.h"
#include "tls_crypt.h"

-#include "mock_msg.h"
<= span> #include "mss.h"
#include "reliable.h= "

diff --git a/tests/unit_tests/open= vpn/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/tes= t_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

To view, visit change 467. To unsub= scribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I5e394bb73702d87562ed354100e= aff9b41f5389e
Gerrit-Change-Number: 467
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-MessageType: merged
--mWN9+6kbBco=--