mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-08 13:27:19 +02:00
tls13 server now does not parse pre-shared key extension unless there are some psk key exchange modes really available. For `ephemeral_all/psk_or_ephemeral` configuration pairs, there wouldn't be any psk key exchange mode available, so the check of "Pre shared key found" should be inverse. Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>