mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Add ssl_set_dtls_badmac_limit()
This commit is contained in:
committed by
Paul Bakker
parent
9b35f18f66
commit
b0643d152d
@ -929,7 +929,7 @@
|
||||
* Enable support for the anti-replay mechanism in DTLS.
|
||||
*
|
||||
* Requires: POLARSSL_SSL_TLS_C
|
||||
* POLARSSL_POLARSSL_PROTO_DTLS
|
||||
* POLARSSL_SSL_PROTO_DTLS
|
||||
*
|
||||
* \warning Disabling this is often a security risk!
|
||||
* See ssl_set_dtls_anti_replay() for details.
|
||||
@ -951,12 +951,23 @@
|
||||
* \warning Disabling this can ba a security risk! (see above)
|
||||
*
|
||||
* Requires: POLARSSL_SSL_SRV_C
|
||||
* POLARSSL_POLARSSL_PROTO_DTLS
|
||||
* POLARSSL_SSL_PROTO_DTLS
|
||||
*
|
||||
* Comment this to disable support for HelloVerifyRequest.
|
||||
*/
|
||||
#define POLARSSL_SSL_DTLS_HELLO_VERIFY
|
||||
|
||||
/**
|
||||
* \def POLARSSL_SSL_DTLS_BADMAC_LIMIT
|
||||
*
|
||||
* Enable support for a limit of records with bad MAC.
|
||||
*
|
||||
* See ssl_set_dtls_badmac_limit().
|
||||
*
|
||||
* Requires: POLARSSL_SSL_PROTO_DTLS
|
||||
*/
|
||||
#define POLARSSL_SSL_DTLS_BADMAC_LIMIT
|
||||
|
||||
/**
|
||||
* \def POLARSSL_SSL_SESSION_TICKETS
|
||||
*
|
||||
|
Reference in New Issue
Block a user