From: "flichtenheld (Code Review)" Date: Fri, 20 Oct 2023 15:01:24 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, max@...2606... Message-ID: <7676efd3a3f93ac09f484400114f8c72c3cd360b-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="sOv4qT8JkIU="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: Add support for mbedtls 3.X.Y List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: MaxF Cc: plaisthos , openvpn-devel --sOv4qT8JkIU= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: MaxF, plaisthos. flichtenheld has posted comments on this change. ( http://gerrit.openvpn.ne= t/c/openvpn/+/370?usp=3Demail ) Change subject: Add support for mbedtls 3.X.Y ...................................................................... Patch Set 6: (3 comments) Patchset: PS6: Still some potential issues, but mostly good File src/openvpn/crypto_mbedtls.c: http://gerrit.openvpn.net/c/openvpn/+/370/comment/70a97fed_b5c81c6d : PS6, Line 576: size_t key_len =3D mbedtls_cipher_info_get_key_bitlen(kt= )/8; Hmm, you are aware that all usages in the function actually multiply the va= lue by 8 again? File src/openvpn/ssl_mbedtls.c: http://gerrit.openvpn.net/c/openvpn/+/370/comment/31a92c09_578a756e : PS6, Line 53: #include Since you reverted the change that required > 2.16, you need to revert this= change as well, right? -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/370?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: I445a93e84dc54b865b757038d22318ac427fce96 Gerrit-Change-Number: 370 Gerrit-PatchSet: 6 Gerrit-Owner: MaxF Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: MaxF Gerrit-Comment-Date: Fri, 20 Oct 2023 15:01:24 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --sOv4qT8JkIU= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: MaxF, plaisthos.

View C= hange

3 comments:

    =
  • Patchset:

    • Patch Set #6:

      Still some potential issues, but mostly good

      <= /li>
  • File src/openvpn/cryp= to_mbedtls.c:

    • Patch= Set #6, Line 576: = size_t key_len =3D mbedtls_cipher_info_get_key_bitlen(kt)/8;

      Hmm, you are aware t= hat all usages in the function actually multiply the value by 8 again?

      <= /li>
  • File src/openvpn/ssl_= mbedtls.c:

    • Patch Se= t #6, Line 53: #include= <mbedtls/net_sockets.h>

      Since you reverted the change that required > 2= .16, you need to revert this change as well, right?

=

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

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I445a93e84dc54b865b757038d22= 318ac427fce96
Gerrit-Change-Number: 370
Gerrit-PatchSet: 6
Gerrit-Owner: MaxF <max@...2606...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: MaxF <max@...2606...> =
Gerrit-Comment-Date: Fri, 20 Oct 2023 15:01:24= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--sOv4qT8JkIU=--