programs/fuzz: Remove superfluous MBEDTLS_HAVE_TIME
MBEDTLS_HAVE_TIME_ALT implies MBEDTLS_HAVE_TIME, so an extra check for MBEDTLS_HAVE_TIME is not needed. Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
4e0cc40d0f
commit
ca53459bed
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ mbedtls_time_t dummy_constant_time( mbedtls_time_t* time )
|
|||
|
||||
void dummy_init()
|
||||
{
|
||||
#if (defined(MBEDTLS_HAVE_TIME) && defined(MBEDTLS_PLATFORM_TIME_ALT))
|
||||
#if defined(MBEDTLS_PLATFORM_TIME_ALT)
|
||||
mbedtls_platform_set_time( dummy_constant_time );
|
||||
#else
|
||||
fprintf(stderr, "Warning: fuzzing without constant time\n");
|
||||
|
|
Loading…
Reference in a new issue