mirror of
https://github.com/espressif/mbedtls.git
synced 2025-06-20 05:44:00 +08:00

Move the kex mode check in ticket_flags to ssl_tls13_offered_psks_check_identity_match_ticket and add new error 'MBEDTLS_ERR_SSL_TICKET_INVALID_KEX_MODE' to indicate the check failure. Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>