Rm hard dependency of DTLS on TIMING_C

This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-13 10:10:00 +02:00
parent e3c41ad8a4
commit 5a8d56d3a3
3 changed files with 3 additions and 19 deletions

View file

@ -351,10 +351,9 @@
#error "MBEDTLS_SSL_PROTO_TLS1_2 defined, but not all prerequisites"
#endif
#if defined(MBEDTLS_SSL_PROTO_DTLS) && ( \
( !defined(MBEDTLS_SSL_PROTO_TLS1_1) && \
!defined(MBEDTLS_SSL_PROTO_TLS1_2) ) || \
!defined(MBEDTLS_TIMING_C) )
#if defined(MBEDTLS_SSL_PROTO_DTLS) && \
!defined(MBEDTLS_SSL_PROTO_TLS1_1) && \
!defined(MBEDTLS_SSL_PROTO_TLS1_2)
#error "MBEDTLS_SSL_PROTO_DTLS defined, but not all prerequisites"
#endif