Skip to content

Commit aae9b6f

Browse files
committed
ota-pal-psa: Use 0 instead of NULL to initialize key_handle_tmp
Signed-off-by: Devaraj Ranganna <[email protected]>
1 parent 5a93ded commit aae9b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Middleware/ARM/freertos-ota-pal-psa-lib/src/ota_provision.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ int ota_privision_code_signing_key(psa_key_handle_t * key_handle)
3232
uint8_t public_key_der[310];
3333
size_t xLength = 310;
3434
int result;
35-
psa_key_handle_t key_handle_tmp = NULL;
35+
psa_key_handle_t key_handle_tmp = 0;
3636
psa_status_t status;
3737
psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
3838

0 commit comments

Comments
 (0)