Correct documentation on use of alert pending

This commit is contained in:
Hanno Becker 2019-07-26 12:47:16 +01:00
parent dd69119b32
commit fcb721d733

View file

@ -1735,7 +1735,8 @@ static inline unsigned int mbedtls_ssl_conf_get_ems_enforced(
*
* The check for pending alerts must be done by calling
* the function ssl_send_pending_fatal_alert() in ssl_tls.c.
* Currently, it happens only during the handshake loop.
* Currently, it happens only during the handshake loop and after
* calling ssl_get_next_record() in the record processing stack.
*
* This function must not be called multiple times without
* sending the pending fatal alerts in between.