Add ssl_set_dtls_badmac_limit()

This commit is contained in:
Manuel Pégourié-Gonnard 2014-10-14 18:30:36 +02:00 committed by Paul Bakker
parent 9b35f18f66
commit b0643d152d
4 changed files with 66 additions and 2 deletions

View file

@ -277,6 +277,11 @@
#error "POLARSSL_SSL_DTLS_ANTI_REPLAY defined, but not all prerequisites"
#endif
#if defined(POLARSSL_SSL_DTLS_BADMAC_LIMIT) && \
( !defined(POLARSSL_SSL_TLS_C) || !defined(POLARSSL_SSL_PROTO_DTLS) )
#error "POLARSSL_SSL_DTLS_BADMAC_LIMIT defined, but not all prerequisites"
#endif
#if defined(POLARSSL_SSL_SESSION_TICKETS) && defined(POLARSSL_SSL_TLS_C) && \
( !defined(POLARSSL_AES_C) || !defined(POLARSSL_SHA256_C) || \
!defined(POLARSSL_CIPHER_MODE_CBC) )