Skip to content

Commit f9417ac

Browse files
committed
crypto: storage: Fix PSA_PS_ERROR_OFFSET typo
Correct typo of PSA_PS_ERROR_OFFSET to PSA_ITS_ERROR_OFFSET.
1 parent 5047ea4 commit f9417ac

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
@@ -4249,7 +4249,7 @@ static psa_status_t its_to_psa_error( psa_its_status_t ret )
42494249
return( PSA_ERROR_INSUFFICIENT_STORAGE );
42504250

42514251
case PSA_ITS_ERROR_INVALID_KEY:
4252-
case PSA_PS_ERROR_OFFSET_INVALID:
4252+
case PSA_ITS_ERROR_OFFSET_INVALID:
42534253
case PSA_ITS_ERROR_INCORRECT_SIZE:
42544254
case PSA_ITS_ERROR_BAD_POINTER:
42554255
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)