From: "cron2 (Code Review)" Date: Sat, 9 Dec 2023 10:05:27 +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="k5c2e11DzQM="; 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 , plaisthos Cc: openvpn-devel --k5c2e11DzQM= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#2) to the change originally created by= flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/467?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by plaisthos 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(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/67/467/2 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: newpatchset --k5c2e11DzQM= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 uploaded patch set #2 to the change originally cr= eated by flichtenheld.

View Change

The following approvals got outda= ted and were removed: Code-Review+2 by plaisthos

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

Change-Id: I5e394bb73702d87562ed354100eaff9b41f= 5389e
Signed-off-by: Frank Lichtenheld <frank@...2641...>
Acked= -by: Arne Schwabe <arne-openvpn@...1227...>
Message-Id: <202312= 08173529.95023-1-frank@...2641...>
URL: https://www.mail-archive.com/= openvpn-devel@lists.sourceforge.net/msg27727.html
Signed-off-by: Gert Do= ering <gert@...1296...>
---
M tests/unit_tests/openvpn/test_aut= h_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 tes= ts/unit_tests/openvpn/test_tls_crypt.c
5 files changed, 0 insertions(+),= 8 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn r=
efs/changes/67/467/2
diff --git a/tests/unit_tests/openvpn/test_aut=
h_token.c b/tests/unit_tests/openvpn/test_auth_token.c
inde= x d96984f..a027330 100644
--- a/tests/unit_tests/openvpn/te= st_auth_token.c
+++ b/tests/unit_tests/openvpn/test_auth_to= ken.c
@@ -36,8 +36,6 @@

= #include "auth_token.c"

-#include "mock_msg.h"
<= span style=3D"color: hsl(0, 100%, 40%);">-
struct test_con= text {
struct tls_multi multi;
st= ruct key_type kt;
diff --git a/tests/unit_tests/openvpn/tes= t_crypto.c b/tests/unit_tests/openvpn/test_crypto.c
index 5= 564524..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 en= coding";
diff --git a/tests/unit_tests/openvpn/test_pa= cket_id.c b/tests/unit_tests/openvpn/test_packet_id.c
index= 90c67ac..2a2a973 100644
--- a/tests/unit_tests/openvpn/tes= t_packet_id.c
+++ b/tests/unit_tests/openvpn/test_packet_id= .c
@@ -36,8 +36,6 @@
#include "packet= _id.h"
#include "reliable.h"

-#include "moc= k_msg.h"
-<= br> struct test_packet_id_write_data {
struct {<= /span>
uint32_t buf_id;
diff --git a/test= s/unit_tests/openvpn/test_pkt.c b/tests/unit_tests/openvpn/test_pkt.c
index 9f49ee7..7f05184 100644
--- a/tests/unit_t= ests/openvpn/test_pkt.c
+++ b/tests/unit_tests/openvpn/test= _pkt.c
@@ -40,7 +40,6 @@
#include "ss= l_pkt.h"
#include "tls_crypt.h"
<= span>

-#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
<= span>--- 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 &= quot;mock_msg.h"
-=
/* Define this function here as dummy since including the= ssl_*.c files
* leads to having to include even more unr= elated code */
bool

To= view, visit change 467. To unsubscribe, 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: newpatchset
--k5c2e11DzQM=--