mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-13 02:28:43 +04:00
Mbed TLS 3.6.3 (and 2.28.10) introduced the requirement to set or explicitly clear the hostname when verifying a server certificate, otherwise verification fails with MBEDTLS_ERR_SSL_CERTIFICATE_VERIFICATION_WITHOUT_HOSTNAME. Clearing the hostname allows EAP-TLS to work correctly in the peer / supplicant role on those Mbed TLS versions. https://mbed-tls.readthedocs.io/en/latest/kb/attacks/ssl_set_hostname/ Signed-off-by: Karsten Sperling <ksperling@apple.com> Link: https://github.com/openwrt/openwrt/pull/25552 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>