mbedtls: disable TLS 1.3 in client mode when skipping verification
authorFelix Fietkau <nbd@nbd.name>
Sun, 7 Apr 2024 14:57:29 +0000 (16:57 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sun, 7 Apr 2024 16:48:29 +0000 (18:48 +0200)
commit28c4c1e6471b6bf5a2e5dd1842c8d1be5d9478e9
tree75e092be9e3d057cd8aa171121015821f0c83298
parent9fdf3fb87af55bd295bccd109a36b4b936033126
mbedtls: disable TLS 1.3 in client mode when skipping verification

mbedtls currently forces verification for TLS 1.3 client connections.
At some point in the future, this can probably be worked around with an
extra callback, but for now disabling TLS 1.3 is the only way.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
ustream-mbedtls.c