Attention is currently required from: Arne Schwabe, Frank Lichtenheld, Max 
Fillinger.

Răzvan Cojocaru 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: Code-Review-1

(4 comments)

Patchset:

PS2:
In addition to the inline comments, it would be nice if we would also drop a 
line in Changes.md about deprecating this maybe.


File CMakeLists.txt:

https://gerrit.openvpn.net/c/openvpn/+/2029/comment/adb21a8f_5fc8c805?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.h`, so 
we should probably remove all the now-dead checks now from configure.ac, 
CMakeLists.txt and config.h.cmake.in.


File src/openvpn/ssl_mbedtls.c:

https://gerrit.openvpn.net/c/openvpn/+/2029/comment/b99cd3dc_a5937fa5?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_material()`, so in theory there could exist mbedTLS 
builds that don't offer it.

We may want to check for it in configure.ac, or do some #ifdef-ery here with an 
#error if the macro is not set?


https://gerrit.openvpn.net/c/openvpn/+/2029/comment/a441b1e5_cea634c6?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.



--
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: Max Fillinger <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Attention: Frank Lichtenheld <[email protected]>
Gerrit-Comment-Date: Mon, 26 Oct 2026 13:20:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to