From: "MaxF (Code Review)"
Date: Fri, 28 Nov 2025 12:59:22 +0000
In-Reply-To:
References:
Reply-To: max@...2606..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, frank@...2641...
Message-ID:
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="ftITbflrXq8="; charset=UTF-8
Subject: [Openvpn-devel] [L] Change in openvpn[master]: Drop Mbed TLS 2.X
compatibility
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: flichtenheld , plaisthos , openvpn-devel
--ftITbflrXq8=
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 by MaxF. ( http://gerrit.openvpn.ne=
t/c/openvpn/+/1412?usp=3Demail )
Change subject: Drop Mbed TLS 2.X compatibility
......................................................................
Patch Set 2:
(3 comments)
Patchset:
PS1:
> configure.ac needs more work. Presumably there should be a CMakeLists. [=
=E2=80=A6]
CMake doesn't check the version. I think the approach is, if you have the w=
rong version, the build will just fail. It does a bunch of feature detectio=
n which I have now removed though.
File configure.ac:
http://gerrit.openvpn.net/c/openvpn/+/1412/comment/e31ce4eb_9de17423?usp=3D=
email :
PS1, Line 998: [mbedtls >=3D 2.0.0 mbedx509 >=3D 2.0.0 mbedcrypto >=3D 2=
.0.0],
> Needs to be updated as well
Done
http://gerrit.openvpn.net/c/openvpn/+/1412/comment/c2576736_b01015cf?usp=3D=
email :
PS1, Line 1036: if test "x$ac_cv_func_mbedtls_ssl_conf_export_keys_ext_cb"=
!=3D xyes; then
> Now that we have the stricter version check, can we get rid of these addi=
tional tests?
Thanks for pointing that out! In version 3, we always have the export_keys_=
cb version, this let me remove even more code!
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1412?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: Ia4afabcb6006dc9304a4c09f824d9c7c2d4d64ad
Gerrit-Change-Number: 1412
Gerrit-PatchSet: 2
Gerrit-Owner: MaxF
Gerrit-Reviewer: flichtenheld
Gerrit-Reviewer: plaisthos
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: flichtenheld
Gerrit-Comment-Date: Fri, 28 Nov 2025 12:59:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld
--ftITbflrXq8=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is cur=
rently required from: flichtenheld, plaisthos.
View =
Change
3 comments:
Patchset:
Patch Set #1:
con=
figure.ac needs more work. Presumably there should be a CMakeLists. [=E2=80=
=A6]
CMake doesn't check the version. I think the appr=
oach is, if you have the wrong version, the build will just fail. It does a=
bunch of feature detection which I have now removed though.
<=
/li>File configure.ac:
Patch Set #1, Line=
998: [mbedtls >=
=3D 2.0.0 mbedx509 >=3D 2.0.0 mbedcrypto >=3D 2.0.0],
Needs to be updated as well
Done
Patch Set #1, Line 1036: if test "x$ac_cv_func_mbedtls_ssl_conf_export_keys_ext=
_cb" !=3D xyes; then
Now that we have the strict=
er version check, can we get rid of these additional tests?
Thanks for pointing that out! In version 3, we always have the export_key=
s_cb version, this let me remove even more code!
=
To view, visit change 1412. To unsubscribe, or for help writing mail filters, v=
isit settings.
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ia4afabcb6006dc9304a4c09f824=
d9c7c2d4d64ad
Gerrit-Change-Number: 1412
Gerrit-PatchSet: 2
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: flichtenheld <frank@...2375...=
41...>
Gerrit-Comment-Date: Fri, 28 Nov 2025 12:59:22=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <frank@...1186...=
.2641...>
=
--ftITbflrXq8=--