mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Only define test_hooks_xxx under MBEDTLS_TEST_HOOKS
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@ -288,13 +288,6 @@ int test_hooks_failure_detected( void );
|
||||
*/
|
||||
void test_hooks_free( void );
|
||||
|
||||
#else /* MBEDTLS_TEST_HOOKS */
|
||||
|
||||
/* Define macros that do nothing, for convenience. */
|
||||
#define test_hooks_init( ) ( (void) 0 )
|
||||
#define test_hooks_failure_detected( ) 0
|
||||
#define test_hooks_free( ) ( (void) 0 )
|
||||
|
||||
#endif /* !MBEDTLS_TEST_HOOKS */
|
||||
|
||||
#endif /* MBEDTLS_SSL_TEST_IMPOSSIBLE conditions: else */
|
||||
|
Reference in New Issue
Block a user