Skip to contentSkip to conversation

Change in openvpn[master]: manage: use man argument in management_query_cert()

Openvpn-devel In review Răzvan Cojocaru (Code Review) via Openvpn-devel 3 participants 6 messages Nov 2 – Nov 9 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1793637321000.Ifc12dafe9621ca00dc0022ad426afebcf38fbc3b@gerrit.openvpn.net

#1 lore raw

Attention is currently required from: Arne Schwabe.

Hello Arne Schwabe,

I'd like you to do a code review.
Please visit

    https://gerrit.openvpn.net/c/openvpn/+/2094?usp=email

to review the following change.

Change subject: manage: use man argument in management_query_cert()
......................................................................

manage: use man argument in management_query_cert()

It passed the global management to management_query_multiline_flatten_newline() while using its man argument for the state and input buffers. No functional change, the only caller passes the global.

Change-Id Ifc12dafe9621ca00dc0022ad426afebcf38fbc3b

---
M src/openvpn/manage.c

1 file changed, 2 insertions(+), 2 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/94/2094/1

src/openvpn/manage.c +2 -2
index 16864c8..d391559 100644
@@ -3937,8 +3937,8 @@
 
     char *result;
     result = management_query_multiline_flatten_newline(
-        management, NULL, (char *)buf_bptr(&buf_prompt), "certificate",
-        &man->connection.ext_cert_state, &man->connection.ext_cert_input);
+        man, NULL, (char *)buf_bptr(&buf_prompt), "certificate", &man->connection.ext_cert_state,
+        &man->connection.ext_cert_input);
     free_buf(&buf_prompt);
     return result;
 }

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2094?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifc12dafe9621ca00dc0022ad426afebcf38fbc3b
Gerrit-Change-Number: 2094
Gerrit-PatchSet: 1
Gerrit-Owner: Răzvan Cojocaru <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#2 lore raw
In reply to a message not in the archive

Attention is currently required from: Arne Schwabe, Răzvan Cojocaru.

Frank Lichtenheld has posted comments on this change by Răzvan Cojocaru. ( https://gerrit.openvpn.net/c/openvpn/+/2094?usp=email )

Change subject: manage: use man argument in management_query_cert()
......................................................................

Patch Set 1: Code-Review+2

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2094?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifc12dafe9621ca00dc0022ad426afebcf38fbc3b
Gerrit-Change-Number: 2094
Gerrit-PatchSet: 1
Gerrit-Owner: Răzvan Cojocaru <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Răzvan Cojocaru <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Comment-Date: Mon, 02 Nov 2026 16:48:20 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#3 lore raw

PATCH 1/1 manage: use man argument in management_query_cert()

In reply to a message not in the archive

From: Razvan Cojocaru <[email protected]>

It passed the global management to management_query_multiline_flatten_newline() while using its man argument for the state and input buffers. No functional change, the only caller passes the global.

Change-Id Ifc12dafe9621ca00dc0022ad426afebcf38fbc3b

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2094
---

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/+/2094
This mail reflects revision 1 of this Change.

Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]>

src/openvpn/manage.c +2 -2
index 16864c8..d391559 100644
@@ -3937,8 +3937,8 @@
 
     char *result;
     result = management_query_multiline_flatten_newline(
-        management, NULL, (char *)buf_bptr(&buf_prompt), "certificate",
-        &man->connection.ext_cert_state, &man->connection.ext_cert_input);
+        man, NULL, (char *)buf_bptr(&buf_prompt), "certificate", &man->connection.ext_cert_state,
+        &man->connection.ext_cert_input);
     free_buf(&buf_prompt);
     return result;
 }

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Acked-by Frank Lichtenheld on v1 1/1
#4 lore raw

[Openvpn-devel] [PATCH applied] Re: manage: use man argument in management_query_cert()

Easy enough, and BB all green :-) - no "must be in 2.7 bugfix" though.

Your patch has been applied to the master branch.

commit 15b1cd44d3275e178091d809b58cf4fa3369eab7

Author: Razvan Cojocaru
Date:   Mon Nov 2 18:00:41 2026 +0100

manage: use man argument in management_query_cert()

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2094
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg40455.html

--
kind regards,

Gert Doering

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#5 lore raw
In reply to a message not in the archive

Gert Doering has uploaded a new patch set (#2) to the change originally created by Răzvan Cojocaru. ( https://gerrit.openvpn.net/c/openvpn/+/2094?usp=email )

The following approvals got outdated and were removed:
Code-Review+2 by Frank Lichtenheld

Change subject: manage: use man argument in management_query_cert()
......................................................................

manage: use man argument in management_query_cert()

It passed the global management to management_query_multiline_flatten_newline() while using its man argument for the state and input buffers. No functional change, the only caller passes the global.

Change-Id Ifc12dafe9621ca00dc0022ad426afebcf38fbc3b

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2094
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg40455.html

---
M src/openvpn/manage.c

1 file changed, 2 insertions(+), 2 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/94/2094/2

src/openvpn/manage.c +2 -2
index 58f63e6..d3b2e7c 100644
@@ -3998,8 +3998,8 @@
 
     char *result;
     result = management_query_multiline_flatten_newline(
-        management, NULL, (char *)buf_bptr(&buf_prompt), "certificate",
-        &man->connection.ext_cert_state, &man->connection.ext_cert_input);
+        man, NULL, (char *)buf_bptr(&buf_prompt), "certificate", &man->connection.ext_cert_state,
+        &man->connection.ext_cert_input);
     free_buf(&buf_prompt);
     return result;
 }

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2094?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifc12dafe9621ca00dc0022ad426afebcf38fbc3b
Gerrit-Change-Number: 2094
Gerrit-PatchSet: 2
Gerrit-Owner: Răzvan Cojocaru <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#6 lore raw
In reply to a message not in the archive

Gert Doering has submitted this change. ( https://gerrit.openvpn.net/c/openvpn/+/2094?usp=email )

Change subject: manage: use man argument in management_query_cert()
......................................................................

manage: use man argument in management_query_cert()

It passed the global management to management_query_multiline_flatten_newline() while using its man argument for the state and input buffers. No functional change, the only caller passes the global.

Change-Id Ifc12dafe9621ca00dc0022ad426afebcf38fbc3b

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2094
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg40455.html

---
M src/openvpn/manage.c

1 file changed, 2 insertions(+), 2 deletions(-)
src/openvpn/manage.c +2 -2
index 58f63e6..d3b2e7c 100644
@@ -3998,8 +3998,8 @@
 
     char *result;
     result = management_query_multiline_flatten_newline(
-        management, NULL, (char *)buf_bptr(&buf_prompt), "certificate",
-        &man->connection.ext_cert_state, &man->connection.ext_cert_input);
+        man, NULL, (char *)buf_bptr(&buf_prompt), "certificate", &man->connection.ext_cert_state,
+        &man->connection.ext_cert_input);
     free_buf(&buf_prompt);
     return result;
 }

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2094?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifc12dafe9621ca00dc0022ad426afebcf38fbc3b
Gerrit-Change-Number: 2094
Gerrit-PatchSet: 2
Gerrit-Owner: Răzvan Cojocaru <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel