Fix some test deps

* Cert revocation tests require `MBEDTLS_HAVE_TIME_DATE`.
 * Verison features tests require... well, `MBEDTLS_VERSION_FEATURES`, actually.

Fixes https://github.com/ARMmbed/mbedtls/issues/1475
This commit is contained in:
Deomid Ryabkov 2016-11-27 14:50:06 +00:00
parent f65379bc40
commit de420a47b6
2 changed files with 30 additions and 30 deletions

View file

@ -64,7 +64,7 @@ void check_runtime_version( char *version_str )
}
/* END_CASE */
/* BEGIN_CASE */
/* BEGIN_CASE depends_on:MBEDTLS_VERSION_FEATURES */
void check_feature( char *feature, int result )
{
int check = mbedtls_version_check_feature( feature );