]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: lwip: Add Support Server Name Indication support
authorJavier Tia <javier.tia@linaro.org>
Sun, 10 Nov 2024 08:28:39 +0000 (10:28 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 13 Nov 2024 01:09:52 +0000 (19:09 -0600)
commit1f444e915ec8e8abfb11dccb7b9d8340096695b4
treebac2f081ae4c30a1bff69d2ef3ae3d407ac399f8
parent514f18f8dcbdb7e5e556d0bfe567b61497fecf4c
net: lwip: Add Support Server Name Indication support

SNI, or Server Name Indication, is an addition to the TLS encryption
protocol that enables a client device to specify the domain name it is
trying to reach in the first step of the TLS handshake, preventing
common name mismatch errors and not reaching to HTTPS server that
enforce this condition. Since most of the websites require it nowadays
add support for it.

It's worth noting that this is already sent to lwIP [0]

[0] https://github.com/lwip-tcpip/lwip/pull/47

Signed-off-by: Javier Tia <javier.tia@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/lwip/lwip/src/apps/altcp_tls/altcp_tls_mbedtls.c
lib/lwip/lwip/src/core/tcp_out.c
lib/lwip/lwip/src/include/lwip/altcp_tls.h