Temporarily disable timing test on non-Linux

This commit is contained in:
Manuel Pégourié-Gonnard 2014-06-13 18:04:42 +02:00
parent fe0984d727
commit 7680698d02

View File

@ -211,7 +211,8 @@ int main( int argc, char *argv[] )
#endif #endif
#endif #endif
#if defined(POLARSSL_TIMING_C) /* Not stable enough on Windows and FreeBSD yet */
#if __linux__ && defined(POLARSSL_TIMING_C)
if( ( ret = timing_self_test( v ) ) != 0 ) if( ( ret = timing_self_test( v ) ) != 0 )
return( ret ); return( ret );
#endif #endif