We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c104e3 commit 29c6afaCopy full SHA for 29c6afa
source/portable/mbedtls/core_pkcs11_mbedtls.c
@@ -476,7 +476,7 @@ static CK_RV prvMbedTLS_Initialize( void )
476
mbedtls_ctr_drbg_init( &xP11Context.xMbedDrbgCtx );
477
478
/* Initialise the global mutexes for the PSA API's */
479
- #if defined( MBEDTLS_PSA_CRYPTO_C )
+ #if defined( MBEDTLS_PSA_CRYPTO_C) && (MBEDTLS_VERSION_NUMBER>=0x03060300 )
480
mbedtls_mutex_init( &mbedtls_threading_key_slot_mutex );
481
mbedtls_mutex_init( &mbedtls_threading_psa_globaldata_mutex );
482
mbedtls_mutex_init( &mbedtls_threading_psa_rngdata_mutex );
0 commit comments