Skip to content

Commit 98efb44

Browse files
Michael SchwarczOren Cohen
authored andcommitted
Remove another psa_identity
1 parent ef76ec8 commit 98efb44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_partition.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,7 @@ static void psa_key_management_operation(void)
13291329

13301330
case PSA_CREATE_KEY: {
13311331
psa_key_id_t id;
1332-
id.owner = psa_identity(msg.handle);
1332+
id.owner = msg.client_id;
13331333

13341334
bytes_read = psa_read(msg.handle, 1, &(id.key_id), msg.in_size[1]);
13351335
if (bytes_read != msg.in_size[1]) {
@@ -1350,7 +1350,7 @@ static void psa_key_management_operation(void)
13501350

13511351
case PSA_OPEN_KEY: {
13521352
psa_key_id_t id;
1353-
id.owner = psa_identity(msg.handle);
1353+
id.owner = msg.client_id;
13541354

13551355
bytes_read = psa_read(msg.handle, 1, &(id.key_id), msg.in_size[1]);
13561356
if (bytes_read != msg.in_size[1]) {

0 commit comments

Comments
 (0)