Gilles Peskine 713127de4c dtls_server: allow unexpected messages during handshake
If MBEDTLS_ERR_SSL_UNEXPECTED_MESSAGE happens during the handshake, don't
show it as an "error". It might be an error, but it might also be a fact of
life if it happens during the second or more handshake: it can be a
duplicated packet or a close_notify alert from the previous connection,
which is hard to avoid and harmless.

Fixes #9652.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-10-02 11:09:20 +02:00
..
CMakeLists.txt
dtls_client.c Always call psa_crypto_init before using TLS 2024-09-25 21:12:57 +02:00
dtls_server.c dtls_server: allow unexpected messages during handshake 2024-10-02 11:09:20 +02:00
mini_client.c Always call psa_crypto_init before using TLS 2024-09-25 21:12:57 +02:00
ssl_client1.c Always call psa_crypto_init before using TLS 2024-09-25 21:12:57 +02:00
ssl_client2.c
ssl_context_info.c Always call psa_crypto_init before using TLS 2024-09-25 21:12:57 +02:00
ssl_fork_server.c Always call psa_crypto_init before using TLS 2024-09-25 21:12:57 +02:00
ssl_mail_client.c Always call psa_crypto_init before using TLS 2024-09-25 21:12:57 +02:00
ssl_pthread_server.c Always call psa_crypto_init before using TLS 2024-09-25 21:12:57 +02:00
ssl_server2.c
ssl_server.c Always call psa_crypto_init before using TLS 2024-09-25 21:12:57 +02:00
ssl_test_common_source.c
ssl_test_lib.c
ssl_test_lib.h