Skip to content
Commit f9023d2c authored by Emil Lindqvist's avatar Emil Lindqvist Committed by Christopher Friedt
Browse files

net: sockets: dtls: reset mbedtls session on timed out handshake



According to MbedTLS API documentation, its session must be
reset if mbedtls_ssl_handshake returns timeout error. This
commit resets the session for said return value, and that
allows us to call send() multiple times even if handshake
times out for previous calls.

Fixes #35711

Signed-off-by: default avatarEmil Lindqvist <emil@lindq.gr>
parent bff5d035
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment