mirror of
https://github.com/espressif/mbedtls.git
synced 2025-06-09 19:47:56 +08:00

The TLS client and server code was usually closing the connection in case of a fatal error without sending an alert. This commit adds alerts in many cases. Added one test case to detect that we send the alert, where a server complains that the client's certificate is from an unknown CA (case tracked internally as IOTSSL-1330).