Introduce configuration option and API for SSL record checking

This commit is contained in:
Hanno Becker 2019-07-03 16:13:00 +01:00 committed by Jarno Lamsa
parent 01655daeee
commit cfe457921a
4 changed files with 81 additions and 0 deletions

View file

@ -1350,6 +1350,19 @@
*/
#define MBEDTLS_SSL_ALL_ALERT_MESSAGES
/**
* \def MBEDTLS_SSL_RECORD_CHECKING
*
* Enable the API mbedtls_ssl_check_record() which allows to check the
* validity, freshness and authenticity of an incoming record without
* modifying the externally visible state of the SSL context.
*
* See mbedtls_ssl_check_record() for more information.
*
* Uncomment to enable support for record checking.
*/
#define MBEDTLS_SSL_RECORD_CHECKING
/**
* \def MBEDTLS_SSL_DTLS_CONNECTION_ID
*