From: "cron2 (Code Review)" Date: Tue, 31 Mar 2026 08:00:14 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <87462bce0994662d079888b9f12969894c59586b-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="mVJpuiG1mcI="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: ssl_ncp: Fix type of "found" parameter of check_pull_client_ncp List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld , plaisthos Cc: openvpn-devel --mVJpuiG1mcI= 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/+/1594?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by plaisthos Change subject: ssl_ncp: Fix type of "found" parameter of check_pull_client= _ncp ...................................................................... ssl_ncp: Fix type of "found" parameter of check_pull_client_ncp In commit 91fd9614f980b02772e4dfbb09144c822ec97df0 type of "found" was changed to uint64_t. But due to -Wconversion not yet enabled in all of init.c one occurence of the old type was missed. Change-Id: I1a6dfc175075636bc7a5761215547077a9dc397a Signed-off-by: Frank Lichtenheld Acked-by: Arne Schwabe Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1594 Message-Id: <20260331060112.5195-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg36= 364.html Signed-off-by: Gert Doering --- M src/openvpn/ssl_ncp.c M src/openvpn/ssl_ncp.h 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/94/1594/2 diff --git a/src/openvpn/ssl_ncp.c b/src/openvpn/ssl_ncp.c index fdac6925..649665a 100644 --- a/src/openvpn/ssl_ncp.c +++ b/src/openvpn/ssl_ncp.c @@ -307,7 +307,7 @@ } bool -check_pull_client_ncp(struct context *c, const unsigned int found) +check_pull_client_ncp(struct context *c, const uint64_t found) { if (found & OPT_P_NCP) { diff --git a/src/openvpn/ssl_ncp.h b/src/openvpn/ssl_ncp.h index 837f662..dc3a750 100644 --- a/src/openvpn/ssl_ncp.h +++ b/src/openvpn/ssl_ncp.h @@ -49,7 +49,7 @@ * * @return Wether the client NCP process suceeded or failed */ -bool check_pull_client_ncp(struct context *c, unsigned int found); +bool check_pull_client_ncp(struct context *c, uint64_t found); /** * Iterates through the ciphers in server_list and return the first -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1594?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: newpatchset Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I1a6dfc175075636bc7a5761215547077a9dc397a Gerrit-Change-Number: 1594 Gerrit-PatchSet: 2 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel --mVJpuiG1mcI= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 upl= oaded patch set #2 to the change originally created by flichtenhel= d.

View Change

The following approvals got outdated and were remove= d: Code-Review+2 by plaisthos

ssl_ncp: Fix type of "foun=
d" parameter of check_pull_client_ncp

In commit 91fd9614f980b02= 772e4dfbb09144c822ec97df0 type
of "found" was changed to uint6= 4_t. But due to -Wconversion
not yet enabled in all of init.c one occure= nce of the old
type was missed.

Change-Id: I1a6dfc175075636bc7a57= 61215547077a9dc397a
Signed-off-by: Frank Lichtenheld <frank@...2723...= .>
Acked-by: Arne Schwabe <arne-openvpn@...1227...>
Gerrit U= RL: https://gerrit.openvpn.net/c/openvpn/+/1594
Message-Id: <20260331= 060112.5195-1-gert@...1296...>
URL: https://www.mail-archive.com/open= vpn-devel@lists.sourceforge.net/msg36364.html
Signed-off-by: Gert Doerin= g <gert@...1296...>
---
M src/openvpn/ssl_ncp.c
M src/openvp= n/ssl_ncp.h
2 files changed, 2 insertions(+), 2 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/change=
s/94/1594/2
diff --git a/src/openvpn/ssl_ncp.c b/src/openvpn/ssl_nc=
p.c
index fdac6925..649665a 100644
--- a/sr= c/openvpn/ssl_ncp.c
+++ b/src/openvpn/ssl_ncp.c
<= span>@@ -307,7 +307,7 @@
}

bool
-check_pull_cl= ient_ncp(struct context *c, const unsigned int found)
+check_pull_client_ncp(struct context *c, = const uint64_t found)
{
if (found &am= p; OPT_P_NCP)
{
diff --git a/src/openv= pn/ssl_ncp.h b/src/openvpn/ssl_ncp.h
index 837f662..dc3a750= 100644
--- a/src/openvpn/ssl_ncp.h
+++ b/s= rc/openvpn/ssl_ncp.h
@@ -49,7 +49,7 @@
*<= /span>
* @return Wether the client NCP process suceeded or fail= ed
*/
-bool check_pull_client_ncp(struct context *c, unsigned int found);=
+bool check_pull_client_ncp= (struct context *c, uint64_t found);

/**=
* Iterates through the ciphers in server_list and return= the first

To view, visit change 1594. To u= nsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I1a6dfc175075636bc7a57612155= 47077a9dc397a
Gerrit-Change-Number: 1594
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>
= --mVJpuiG1mcI=--