mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-24 14:17:00 +00:00
Disable POLARSSL_TIMING_C by default (only required for HAVEGE)
This commit is contained in:
parent
92b8dc0535
commit
ecd54fb897
|
@ -1187,8 +1187,8 @@
|
||||||
* Caller: library/havege.c
|
* Caller: library/havege.c
|
||||||
*
|
*
|
||||||
* This module is used by the HAVEGE random number generator.
|
* This module is used by the HAVEGE random number generator.
|
||||||
*/
|
|
||||||
#define POLARSSL_TIMING_C
|
#define POLARSSL_TIMING_C
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \def POLARSSL_VERSION_C
|
* \def POLARSSL_VERSION_C
|
||||||
|
@ -1332,6 +1332,10 @@
|
||||||
#error "POLARSSL_GCM_C defined, but not all prerequisites"
|
#error "POLARSSL_GCM_C defined, but not all prerequisites"
|
||||||
#endif
|
#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)
|
#if defined(POLARSSL_KEY_EXCHANGE_DHE_PSK_ENABLED) && !defined(POLARSSL_DHM_C)
|
||||||
#error "POLARSSL_KEY_EXCHANGE_DHE_PSK_ENABLED defined, but not all prerequisites"
|
#error "POLARSSL_KEY_EXCHANGE_DHE_PSK_ENABLED defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue