mirror of
https://github.com/espressif/openthread.git
synced 2026-09-02 07:10:08 +00:00
Send Close Notify message in response to a Fatal Alert. (#1153)
This commit is contained in:
@@ -409,6 +409,7 @@ void Dtls::Process(void)
|
||||
break;
|
||||
|
||||
case MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE:
|
||||
mbedtls_ssl_close_notify(&mSsl);
|
||||
ExitNow(shouldClose = true);
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user