Fix minor issues in documentation of mbedtls_ssl_check_record()

This commit is contained in:
Hanno Becker 2019-07-18 08:21:17 +01:00 committed by Jarno Lamsa
parent 19f1ef7a10
commit b7d1dffcc9

View File

@ -1762,7 +1762,7 @@ void mbedtls_ssl_conf_read_timeout( mbedtls_ssl_config *conf, uint32_t timeout )
* and authentic record (DTLS only).
*
* This function does not change the user-visible state
* of the SSL context. It's sole purpose is to provide
* of the SSL context. Its sole purpose is to provide
* an indication of the legitimacy of an incoming record.
*
* This can be useful e.g. in distributed server environments
@ -1780,7 +1780,7 @@ void mbedtls_ssl_conf_read_timeout( mbedtls_ssl_config *conf, uint32_t timeout )
* \note This routine only checks whether the provided buffer begins
* with a valid, fresh and authentic record, but does not check
* potential data following the initial record. In particular,
* it is possible to pass DTLS datagrams containing records,
* it is possible to pass DTLS datagrams containing records,
* in which case only the first record is checked.
*
* \note This function modifies the input buffer \p buf. If you need