From: "MaxF (Code Review)" Date: Wed, 29 Jan 2025 18:22:58 +0000 In-Reply-To: References: Reply-To: max@...2606..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <419bf9d5ded494a7ec8814bd34eadf3e65b61af3-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="atFw4MPmcz4="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: Extend the unit test for data channel packets with aead limit tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: flichtenheld , openvpn-devel --atFw4MPmcz4= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. MaxF has posted comments on this change. ( http://gerrit.openvpn.net/c/open= vpn/+/868?usp=3Demail ) Change subject: Extend the unit test for data channel packets with aead lim= it tests ...................................................................... Patch Set 2: (4 comments) Patchset: PS2: Looks good! File tests/unit_tests/openvpn/test_ssl.c: http://gerrit.openvpn.net/c/openvpn/+/868/comment/aaf1046f_c7682d5e : PS2, Line 369: Nitpick: Did you mean to put 2 blank lines here? http://gerrit.openvpn.net/c/openvpn/+/868/comment/90415ab6_73c373e1 : PS2, Line 403: \ Why a line continuation? http://gerrit.openvpn.net/c/openvpn/+/868/comment/a772ba34_52699165 : PS2, Line 432: /* Ensure that we are still on the initial key (unit test= uses 4) : * or that it is 0 when epoch is not in use */ : assert_int_equal(co->key_ctx_bi.encrypt.epoch, expected_= epoch); I was confused where the 4 comes from. I guess the previous test sets it th= at way? -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/868?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: I15c7cfdddb06d4530d669b222a3c65db5169b29a Gerrit-Change-Number: 868 Gerrit-PatchSet: 2 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: MaxF Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Wed, 29 Jan 2025 18:22:58 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --atFw4MPmcz4= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos.

View C= hange

4 comments:

    =
  • Patchset:

  • File tests/unit_tests/openvpn/test_ssl.c:

    • Patch Set #2, Line 369:

      Nitpick: Did you mean to put 2 blan= k lines here?

    • Patch Set #2, Line 403: \

      Why a line continuation?

    • Patch= Set #2, Line 432:

         /* Ensure that we are still on the i=
      nitial key (unit test uses 4)
      * or that it is 0 when epoch is not i= n use */
      assert_int_equal(co->key_ctx_bi.encrypt.epoch, expected_= epoch);

      I was confused where the 4 comes from. I guess the previo= us test sets it that way?

To view, visit change 868. = To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I15c7cfdddb06d4530d669b222a3= c65db5169b29a
Gerrit-Change-Number: 868
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: MaxF <max@...2606...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Wed, 29 Jan 2025 18:22:58= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--atFw4MPmcz4=--