Skip to content

Commit 1f89f15

Browse files
committed
- Clear the trustm_isOpen flag when trustm_close() is called.
1 parent 23f183f commit 1f89f15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/Infineon/crypto/trustm/CHIPCryptoPALHsm_utils_trustm.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ void trustm_close(void)
219219
optiga_util_destroy(p_local_util);
220220
optiga_crypt_destroy(p_local_crypt);
221221
pal_os_event_destroy(NULL);
222-
222+
trustm_isOpen = false;
223223
return_status = OPTIGA_LIB_SUCCESS;
224224
} while (0);
225225
}

0 commit comments

Comments
 (0)