Attention is currently required from: Arne Schwabe, Frank Lichtenheld, Răzvan 
Cojocaru.

Max Fillinger has posted comments on this change by Max Fillinger. ( 
https://gerrit.openvpn.net/c/openvpn/+/2029?usp=email )

Change subject: Remove Mbed TLS 3 compatibility
......................................................................


Patch Set 2:

(4 comments)

Patchset:

PS2:
> In addition to the inline comments, it would be nice if we would also drop a 
> line in Changes. […]
I added a line that it is removed now, but you said deprecated instead of 
removed - should I add a deprecation warning to the 2.7 branch?


File CMakeLists.txt:

https://gerrit.openvpn.net/c/openvpn/+/2029/comment/2d4f0996_94d2b037?usp=email 
:
PS2, Line 320:     check_include_files(psa/crypto.h HAVE_PSA_CRYPTO_H)
> It seems that after this change there are no users left of `psa/crypto. […]
There are still users left of this header, but it exists in every version of 
Mbed TLS 4. So you're still right that the checks should be removed.


File src/openvpn/ssl_mbedtls.c:

https://gerrit.openvpn.net/c/openvpn/+/2029/comment/a467f7fb_05bcfc69?usp=email 
:
PS2, Line 156:     return mbed_ok(mbedtls_ssl_export_keying_material(ctx, ekm, 
ekm_size, label, label_size,
> `MBEDTLS_SSL_KEYING_MATERIAL_EXPORT` seems to gate availability of 
> `mbedtls_ssl_export_keying_materi […]
I was thinking about that, but Mbed TLS is very modular and there are lots of 
configurations that would cause OpenVPN builds to fail. I don't think it would 
be easy to print a nice error message for every possible unsupported 
configuration.

Do you think it's important to have a check for this one in particular?


https://gerrit.openvpn.net/c/openvpn/+/2029/comment/501ffb31_ef4fa1f8?usp=email 
:
PS2, Line 514:         mbedtls_pk_context *mut_prv = (mbedtls_pk_context 
*)ctx->priv_key; /* remove const */
> `ctx` is not `const` here, so the cast shouldn't be necessary.
Right, this was a copy-paste error. This code was originally from 
mbedtls_compat.h.



--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2029?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I5ebc0d04c501d00dd35e8e23cd25d6696d95d719
Gerrit-Change-Number: 2029
Gerrit-PatchSet: 2
Gerrit-Owner: Max Fillinger <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-Reviewer: Răzvan Cojocaru <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Răzvan Cojocaru <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Attention: Frank Lichtenheld <[email protected]>
Gerrit-Comment-Date: Wed, 28 Oct 2026 17:06:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Răzvan Cojocaru <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to