Skip to content

Commit a325dd7

Browse files
Patateradbridge
authored andcommitted
crypto: storage: Fix PSA_PS_ERROR_OFFSET typo
Correct typo of PSA_PS_ERROR_OFFSET to PSA_ITS_ERROR_OFFSET.
1 parent 4b67db7 commit a325dd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

features/mbedtls/mbed-crypto/platform/TARGET_PSA/COMPONENT_PSA_SRV_IMPL/psa_crypto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4259,7 +4259,7 @@ static psa_status_t its_to_psa_error( psa_its_status_t ret )
42594259
return( PSA_ERROR_INSUFFICIENT_STORAGE );
42604260

42614261
case PSA_ITS_ERROR_INVALID_KEY:
4262-
case PSA_PS_ERROR_OFFSET_INVALID:
4262+
case PSA_ITS_ERROR_OFFSET_INVALID:
42634263
case PSA_ITS_ERROR_INCORRECT_SIZE:
42644264
case PSA_ITS_ERROR_BAD_POINTER:
42654265
return( PSA_ERROR_INVALID_ARGUMENT );

features/mbedtls/mbed-crypto/platform/TARGET_PSA/COMPONENT_PSA_SRV_IMPL/psa_crypto_storage_its.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static psa_status_t its_to_psa_error( psa_its_status_t ret )
5252
return( PSA_ERROR_INSUFFICIENT_STORAGE );
5353

5454
case PSA_ITS_ERROR_INVALID_KEY:
55-
case PSA_PS_ERROR_OFFSET_INVALID:
55+
case PSA_ITS_ERROR_OFFSET_INVALID:
5656
case PSA_ITS_ERROR_INCORRECT_SIZE:
5757
case PSA_ITS_ERROR_BAD_POINTER:
5858
return( PSA_ERROR_INVALID_ARGUMENT );

0 commit comments

Comments
 (0)