Change in openvpn[master]: ssl_ncp: Fix type of "found" parameter of check_pull_client_ncp
A message that is not in the archive (sent off-list or not yet received): gerrit.1774906039000.I1a6dfc175075636bc7a5761215547077a9dc397a@...2715...
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/+/1594?usp=email
to review the following change.
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.
---
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/1
src/openvpn/ssl_ncp.c +1 -1
@@ -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 ) {
src/openvpn/ssl_ncp.h +1 -1
@@ -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=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I1a6dfc175075636bc7a5761215547077a9dc397a
Gerrit-Change-Number: 1594
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Attention is currently required from: flichtenheld.
plaisthos has posted comments on this change by flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/1594?usp=email )
Change subject: ssl_ncp: Fix type of "found" parameter of check_pull_client_ncp
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1594?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I1a6dfc175075636bc7a5761215547077a9dc397a
Gerrit-Change-Number: 1594
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Mon, 30 Mar 2026 22:24:24 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
PATCH 1/1 ssl_ncp: Fix type of "found" parameter of check_pull_client_ncp
In reply to a message not in the archiveFrom: Frank Lichtenheld <[email protected]...>
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.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1594
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1594
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Arne Schwabe <[email protected]...>
src/openvpn/ssl_ncp.c +1 -1
@@ -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 ) {
src/openvpn/ssl_ncp.h +1 -1
@@ -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
[Openvpn-devel] [PATCH applied] Re: ssl_ncp: Fix type of found parameter of check_pull_client_ncp
Good catch :-) - since the other uint64 options bits patch did not go to release/2.7, this one also doesn't.
Your patch has been applied to the master branch.
commit 3ba76022430adce09b1ead0438b5c1fe99d3e661
Author: Frank Lichtenheld Date: Tue Mar 31 08:01:05 2026 +0200
ssl_ncp: Fix type of found parameter of check_pull_client_ncp
Signed-off-by: Frank Lichtenheld <[email protected]...>
Acked-by: Arne Schwabe <[email protected]...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1594
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36364.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
cron2 has uploaded a new patch set (#2) to the change originally created by flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/1594?usp=email )
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.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1594
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36364.html
---
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
src/openvpn/ssl_ncp.c +1 -1
@@ -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 ) {
src/openvpn/ssl_ncp.h +1 -1
@@ -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=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I1a6dfc175075636bc7a5761215547077a9dc397a
Gerrit-Change-Number: 1594
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1594?usp=email )
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.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1594
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36364.html
---
M src/openvpn/ssl_ncp.c
M src/openvpn/ssl_ncp.h
2 files changed, 2 insertions(+), 2 deletions(-)
src/openvpn/ssl_ncp.c +1 -1
@@ -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 ) {
src/openvpn/ssl_ncp.h +1 -1
@@ -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=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I1a6dfc175075636bc7a5761215547077a9dc397a
Gerrit-Change-Number: 1594
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>