mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 11:25:38 +01:00
More clarity for ifdef orders
This commit is contained in:
parent
0ff84fb6fe
commit
f91b3722cf
@ -2010,10 +2010,10 @@ int main( int argc, char *argv[] )
|
||||
{
|
||||
srand( 1 );
|
||||
mbedtls_ssl_conf_rng( &conf, dummy_random, &ctr_drbg );
|
||||
#if defined(MBEDTLS_HAVE_TIME)
|
||||
#if defined(MBEDTLS_PLATFORM_TIME_ALT)
|
||||
mbedtls_platform_set_time( dummy_constant_time );
|
||||
#else
|
||||
#if defined(MBEDTLS_HAVE_TIME)
|
||||
fprintf( stderr, "Warning: reproducible option used without constant time\n" );
|
||||
#endif
|
||||
#endif
|
||||
|
@ -2829,10 +2829,10 @@ int main( int argc, char *argv[] )
|
||||
{
|
||||
srand( 1 );
|
||||
mbedtls_ssl_conf_rng( &conf, dummy_random, &ctr_drbg );
|
||||
#if defined(MBEDTLS_HAVE_TIME)
|
||||
#if defined(MBEDTLS_PLATFORM_TIME_ALT)
|
||||
mbedtls_platform_set_time( dummy_constant_time );
|
||||
#else
|
||||
#if defined(MBEDTLS_HAVE_TIME)
|
||||
fprintf( stderr, "Warning: reproducible option used without constant time\n" );
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user