Re-introduction of key slot chekcs

Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
This commit is contained in:
TRodziewicz
2021-07-02 18:08:10 +02:00
parent bd3bfbf5c2
commit 053b99b90b
8 changed files with 35 additions and 1 deletions

View File

@@ -129,6 +129,7 @@ extern "C" {
* Only used when invasive testing is enabled via MBEDTLS_TEST_HOOKS.
*/
extern void (*mbedtls_test_hook_error_add)( int, int, const char *, int );
extern void (*mbedtls_test_hook_value)( int test, const char * file, int line );
#endif
/**

View File

@@ -1683,7 +1683,7 @@
*
* Uncomment to enable invasive tests.
*/
//#define MBEDTLS_TEST_HOOKS
#define MBEDTLS_TEST_HOOKS
/**
* \def MBEDTLS_THREADING_ALT