mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-10 22:45:39 +00:00
Merge pull request #316 from Patater/stop-reentrant-transaction
Stop transactions from being reentrant
This commit is contained in:
commit
b14a4ff840
|
@ -419,7 +419,7 @@ psa_status_t psa_crypto_save_transaction( void )
|
||||||
{
|
{
|
||||||
struct psa_storage_info_t p_info;
|
struct psa_storage_info_t p_info;
|
||||||
psa_status_t status;
|
psa_status_t status;
|
||||||
status = psa_its_get_info( PSA_CRYPTO_ITS_RANDOM_SEED_UID, &p_info );
|
status = psa_its_get_info( PSA_CRYPTO_ITS_TRANSACTION_UID, &p_info );
|
||||||
if( status == PSA_SUCCESS )
|
if( status == PSA_SUCCESS )
|
||||||
{
|
{
|
||||||
/* This shouldn't happen: we're trying to start a transaction while
|
/* This shouldn't happen: we're trying to start a transaction while
|
||||||
|
|
Loading…
Reference in a new issue