From: "plaisthos (Code Review)" Date: Thu, 11 Dec 2025 14:44:20 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., gert@...1296... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="IdiQoCnRCMo="; 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: , Cc: flichtenheld , openvpn-devel --IdiQoCnRCMo= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: cron2, flichtenheld. plaisthos has posted comments on this change by plaisthos. ( http://gerrit.= openvpn.net/c/openvpn/+/1435?usp=3Demail ) Change subject: Allow test-crypto to work without the --secret argument ...................................................................... Patch Set 4: (1 comment) File src/openvpn/init.c: http://gerrit.openvpn.net/c/openvpn/+/1435/comment/133004d8_d3bfcd06?usp=3D= email : PS3, Line 3528: else if (c->options.test_crypto) > Why not do this test first and remove all handling of test-crypto from do= _init_crypto_static? So basically to currently still support the old mode that allows to use --s= ecret to manually specify the key. When we remove --secret in OpenVPN 2.8 m= aster brnach it is going away entirely anyway. -- 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: 4 Gerrit-Owner: plaisthos Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: cron2 Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Thu, 11 Dec 2025 14:44:20 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: flichtenheld --IdiQoCnRCMo= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

View = Change

1 comment:

    =
  • File src/openvpn/init.c:

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

      Why not do this test first = and remove all handling of test-crypto from do_init_crypto_static?

      So basically to currently still support the old mode that allows t= o use --secret to manually specify the key. When we remove --secret in Open= VPN 2.8 master brnach it is going away entirely anyway.

  • <= /ul>

    To view, visit change 1435. To unsubscribe, or for help writing mail fil= ters, visit sett= ings.

    <= link itemprop=3D"url" href=3D"http://gerrit.openvpn.net/c/openvpn/+/1435?us= p=3Demail"/>
    Gerrit-MessageType: comment
    Gerrit-Project: openvpn
    Gerrit-Branch: master
    Gerrit-Change-Id: I72947bd4f0213fd118327f740da= eb1d86ae166de
    Gerrit-Change-Number: 1435
    Gerrit-PatchSet: 4
    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: cron2 <gert@...1296...>= ;
    Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
    Gerrit-Comment-Date: Thu, 11 Dec 2025 14:44:20= +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: flichtenheld <frank@...1186...= .2641...>
    = --IdiQoCnRCMo=--