This commit is contained in:
Conor Patrick
2020-03-25 14:33:18 -04:00
parent 6cd3873b37
commit 530e175ad1
2 changed files with 4 additions and 4 deletions

View File

@@ -188,6 +188,7 @@ __attribute__((weak)) void ctap_store_rk(int index, CTAP_residentKey * rk)
__attribute__((weak)) void ctap_delete_rk(int index)
{
CTAP_residentKey rk;
memset(&rk, 0xff, sizeof(CTAP_residentKey));
if (index < RK_NUM)
{