From: "flichtenheld (Code Review)" Date: Wed, 6 Dec 2023 15:24:53 +0000 References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="kbOF9OOt8QI="; 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: plaisthos Cc: openvpn-devel --kbOF9OOt8QI= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. Hello plaisthos, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/467?usp=3Demail to review the following change. 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 --- 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(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/67/467/1 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: 1 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-MessageType: newchange --kbOF9OOt8QI= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: plaisthos.

flichtenheld would like plaisthos to review this change.

Vi= ew Change

unit_tests: remove includes for mock_msg.h

Not actuall= y used.

Change-Id: I5e394bb73702d87562ed354100eaff9b41f5389e
Sign= ed-off-by: Frank Lichtenheld <frank@...2641...>
---
M tests/uni= t_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/ope= nvpn/test_pkt.c
M tests/unit_tests/openvpn/test_tls_crypt.c
5 files c= hanged, 0 insertions(+), 8 deletions(-)

git pull ssh://gerrit.ope=
nvpn.net:29418/openvpn refs/changes/67/467/1
diff --git a/tests/uni=
t_tests/openvpn/test_auth_token.c b/tests/unit_tests/openvpn/test_auth_toke=
n.c
index d96984f..a027330 100644
--- a/tes= ts/unit_tests/openvpn/test_auth_token.c
+++ b/tests/unit_te= sts/openvpn/test_auth_token.c
@@ -36,8 +36,6 @@
<= span>
#include "auth_token.c"
=
-#include "mock_m= sg.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 5564524..9e5469a 100644
--- a/tests/un= it_tests/openvpn/test_crypto.c
+++ b/tests/unit_tests/openv= pn/test_crypto.c
@@ -38,7 +38,6 @@
#includ= e "options.h"
#include "ssl_backend.h"=

-#in= clude "mock_msg.h"
#include "mss.h"

static const char testtext[] =3D "Dum= my 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;
<= span>diff --git a/tests/unit_tests/openvpn/test_pkt.c b/tests/unit_tests/op= envpn/test_pkt.c

index 9f49ee7..7f05184 100644
--- a/tests/unit_tests/openvpn/test_pkt.c

+++ b/tests/u= nit_tests/openvpn/test_pkt.c
@@ -40,7 +40,6 @@
#include "ssl_pkt.h"

#include "tls_cry= pt.h"

-#include "mock_msg.h"
#include "mss.= h"
#include "reliable.h"
<= /span>
diff --git a/tests/unit_tests/openvpn/test_tls_crypt.c b/te= sts/unit_tests/openvpn/test_tls_crypt.c
index ed7c794..4655= 43a 100644
--- a/tests/unit_tests/openvpn/test_tls_crypt.c<= /span>
+++ b/tests/unit_tests/openvpn/test_tls_crypt.c
<= span>@@ -36,8 +36,6 @@


#include "tl= s_crypt.c"

-#include "mock_msg.h"
-
/* Define this function here as dum= my since including the ssl_*.c files
* leads to having to= include even more unrelated code */
bool
=

To view, visit change 467. To unsubscribe, or for help writi= ng mail filters, visit setti= ngs.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I5e394bb73702d87562ed354100e= aff9b41f5389e
Gerrit-Change-Number: 467
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-MessageType: newchange
--kbOF9OOt8QI=--