Skip to content

Commit b14a4ff

Browse files
authored
Merge pull request #316 from Patater/stop-reentrant-transaction
Stop transactions from being reentrant
2 parents 22589f0 + 2ce22a5 commit b14a4ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/psa_crypto_storage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ psa_status_t psa_crypto_save_transaction( void )
419419
{
420420
struct psa_storage_info_t p_info;
421421
psa_status_t status;
422-
status = psa_its_get_info( PSA_CRYPTO_ITS_RANDOM_SEED_UID, &p_info );
422+
status = psa_its_get_info( PSA_CRYPTO_ITS_TRANSACTION_UID, &p_info );
423423
if( status == PSA_SUCCESS )
424424
{
425425
/* This shouldn't happen: we're trying to start a transaction while

0 commit comments

Comments
 (0)