From: "flichtenheld (Code Review)" Date: Fri, 12 Dec 2025 10:54:53 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, gert@...1296... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="/o4n4LNijhA="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: Allow test-crypto to work without the --secret argument List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --/o4n4LNijhA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: cron2, plaisthos. flichtenheld has posted comments on this change by plaisthos. ( http://gerr= it.openvpn.net/c/openvpn/+/1435?usp=3Demail ) Change subject: Allow test-crypto to work without the --secret argument ...................................................................... Patch Set 5: (2 comments) File src/openvpn/init.c: http://gerrit.openvpn.net/c/openvpn/+/1435/comment/08f7e7fe_7800d03f?usp=3D= email : PS3, Line 3528: else if (c->options.test_crypto) > So basically to currently still support the old mode that allows to use -= -secret to manually specify [=E2=80=A6] Acknowledged File src/openvpn/options.c: http://gerrit.openvpn.net/c/openvpn/+/1435/comment/c8f0900d_ef9eff0f?usp=3D= email : PS5, Line 2695: if (options->tls_server + options->tls_client + (option= s->shared_secret_file !=3D NULL) > 1) Since test_crypto does not imply shared_secret_file anymore should we add a= check here that we do not combine `--test-crypto` with `--tls-*` ? -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1435?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: comment Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I72947bd4f0213fd118327f740daeb1d86ae166de Gerrit-Change-Number: 1435 Gerrit-PatchSet: 5 Gerrit-Owner: plaisthos Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: cron2 Gerrit-Comment-Date: Fri, 12 Dec 2025 10:54:53 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: plaisthos Comment-In-Reply-To: flichtenheld --/o4n4LNijhA= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: cron2, plaisthos.

View = Change

2 comments:

  • File src/openvpn/init.c:

    • Patch Set #3, L= ine 3528: else if (= c->options.test_crypto)

      So basically to currently = still support the old mode that allows to use --secret to manually specify = [=E2=80=A6]

      Acknowledged

  • File src/openvpn/options.c:

    • Patch Set #5, Line 2695:= if (options->tls_se= rver + options->tls_client + (options->shared_secret_file !=3D NULL) = > 1)

      Since test_crypto does not imply shared_secret_file anym= ore should we add a check here that we do not combine `--test-crypto` with = `--tls-*` ?

To view, visit change 1435. To unsubscrib= e, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I72947bd4f0213fd118327f740da= eb1d86ae166de
Gerrit-Change-Number: 1435
Gerrit-PatchSet: 5
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: cron2 <gert@...1296...>= ;
Gerrit-Comment-Date: Fri, 12 Dec 2025 10:54:53= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos <arne-openvp= n@...1227...>
Comment-In-Reply-To: flichtenheld <frank@...1186...= .2641...>
= --/o4n4LNijhA=--