Rm hard dependency of DTLS on TIMING_C
diff --git a/include/mbedtls/check_config.h b/include/mbedtls/check_config.h
index e1b330f..4a0e287 100644
--- a/include/mbedtls/check_config.h
+++ b/include/mbedtls/check_config.h
@@ -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
diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h
index fc86056..34d0bc2 100644
--- a/include/mbedtls/config.h
+++ b/include/mbedtls/config.h
@@ -1046,11 +1046,6 @@
*
* Requires: MBEDTLS_SSL_PROTO_TLS1_1
* or MBEDTLS_SSL_PROTO_TLS1_2
- * MBEDTLS_TIMING_C
- *
- * \note Dependency on TIMING_C may be replaced by something more flexible
- * (callbacks or abstraction layer in the next major version). Please contact
- * us if you're having issues with this dependency.
*
* Comment this macro to disable support for DTLS
*/