From: "flichtenheld (Code Review)" Date: Tue, 10 Dec 2024 17:35:16 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="YbrOm9arLvc="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: Allow DEFAULT in data-ciphers and report both expanded and user set o... List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --YbrOm9arLvc= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. flichtenheld has posted comments on this change. ( http://gerrit.openvpn.ne= t/c/openvpn/+/828?usp=3Demail ) Change subject: Allow DEFAULT in data-ciphers and report both expanded and = user set option ...................................................................... Patch Set 1: Code-Review-1 (6 comments) Patchset: PS1: Some nitpicks File doc/man-sections/protocol-options.rst: http://gerrit.openvpn.net/c/openvpn/+/828/comment/5f75330f_045154c7 : PS1, Line 181: Starting with OpenVPN 2.7 the special keyword DEFAULT can = be used in the Probably makes sense to use ``DEFAULT`` here. File src/openvpn/multi.c: http://gerrit.openvpn.net/c/openvpn/+/828/comment/9501c1ac_eab351db : PS1, Line 1905: "Server data-ciphers: '%s'%s, client supports c= ipher '%s'", make consistent with the other case. Either '%s%s' or '%s'%s, but not both. File src/openvpn/ssl_ncp.h: http://gerrit.openvpn.net/c/openvpn/+/828/comment/1d04131f_fb1c7b2c : PS1, Line 174: * The returned string will be allocated in the passed \par= am gc If you want to format a word as param use \p, \param is for documenting par= ameters. File src/openvpn/ssl_ncp.c: http://gerrit.openvpn.net/c/openvpn/+/828/comment/c25085e2_a57ade0c : PS1, Line 537: * Replaces the string DEFAULT with the string \param replac= e. The \p File tests/unit_tests/openvpn/test_ncp.c: http://gerrit.openvpn.net/c/openvpn/+/828/comment/87f080cb_fef0e6b6 : PS1, Line 356: test_ncp_expand(void **state) I would suggest to add a testcase here where ncp_cipher_conf contains DEFAU= LT but is not equal to DEFAULT. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/828?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ia1c5209022d3ab4c0dac6438c41891c7d059f812 Gerrit-Change-Number: 828 Gerrit-PatchSet: 1 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Comment-Date: Tue, 10 Dec 2024 17:35:16 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment --YbrOm9arLvc= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: plaisthos.

Patch set 1:Code-Review -1=

Vi= ew Change

6 comments:

  • Patchset:

  • File doc/man-sections/protocol-options.rst:

    <= ul style=3D"list-style: none; padding: 0;">
  • Patch Set #1, Line 181:= Starting with OpenVP= N 2.7 the special keyword DEFAULT can be used in the

    Probably makes sense to use = ``DEFAULT`` here.

  • File src/openvpn/multi.c:

      <= li style=3D"margin: 0; padding: 0 0 0 16px;">

      Patch Set #1, Line 1905: "Server data-ciphers: '%s'%s, client sup= ports cipher '%s'",

      make consistent with the other case. Either '= ;%s%s' or '%s'%s, but not both.

  • File src/openvpn/ssl_ncp.h:

    • Patch Set #1, Line 174: * The returned string will be alloca= ted in the passed \param gc

      If you want to format a word as param use \p, \param = is for documenting parameters.

  • File src/openvpn/ssl_ncp.c:

  • File= tests/unit_tests/openvpn/test_ncp.c:

    • Patch Set #1, Line 356: test_ncp_expand(void **state)

      I would suggest to add a testca= se here where ncp_cipher_conf contains DEFAULT but is not equal to DEFAULT.=

  • To view, visit change 828. To unsubscribe, or for hel= p writing mail filters, visit settings.

    Gerrit-Project: openvpn
    Gerrit-Branch: master
    Gerrit-Change-Id: Ia1c5209022d3ab4c0dac6438c41= 891c7d059f812
    Gerrit-Change-Number: 828
    Gerrit-PatchSet: 1
    Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
    Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
    Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
    Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
    Gerrit-Comment-Date: Tue, 10 Dec 2024 17:35:16= +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Gerrit-MessageType: comment
    --YbrOm9arLvc=--