programs/ssl: Fix compile errors when MBEDTLS_HAVE_TIME is not defined
Signed-off-by: Raoul Strackx <raoul.strackx@fortanix.com> [dja: add some more fixes, tweak title] Signed-off-by: Daniel Axtens <dja@axtens.net>
This commit is contained in:
parent
446af202f6
commit
9ed9bc9377
4 changed files with 15 additions and 0 deletions
|
@ -129,7 +129,9 @@ void my_debug( void *ctx, int level,
|
|||
const char *file, int line,
|
||||
const char *str );
|
||||
|
||||
#if defined(MBEDTLS_HAVE_TIME)
|
||||
mbedtls_time_t dummy_constant_time( mbedtls_time_t* time );
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_USE_PSA_CRYPTO)
|
||||
/* If MBEDTLS_TEST_USE_PSA_CRYPTO_RNG is defined, the SSL test programs will use
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue