Disable POLARSSL_TIMING_C by default (only required for HAVEGE)

This commit is contained in:
Paul Bakker 2013-07-03 14:48:29 +02:00
parent 92b8dc0535
commit ecd54fb897

View File

@ -1187,8 +1187,8 @@
* Caller: library/havege.c
*
* This module is used by the HAVEGE random number generator.
*/
#define POLARSSL_TIMING_C
*/
/**
* \def POLARSSL_VERSION_C
@ -1332,6 +1332,10 @@
#error "POLARSSL_GCM_C defined, but not all prerequisites"
#endif
#if defined(POLARSSL_HAVEGE_C) && !defined(POLARSSL_TIMING_C)
#error "POLARSSL_HAVEGE_C defined, but not all prerequisites"
#endif
#if defined(POLARSSL_KEY_EXCHANGE_DHE_PSK_ENABLED) && !defined(POLARSSL_DHM_C)
#error "POLARSSL_KEY_EXCHANGE_DHE_PSK_ENABLED defined, but not all prerequisites"
#endif