Skip to content

Commit ade582f

Browse files
committed
Fix size in forceZero
1 parent 9eca74d commit ade582f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/update_flash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ int wolfBoot_unlock_disk(void)
11681168
ret, wolfTPM2_GetRCString(ret));
11691169
}
11701170

1171-
TPM2_ForceZero(secret, sizeof(secretSz));
1171+
TPM2_ForceZero(secret, sizeof(secret));
11721172
return ret;
11731173
}
11741174
#endif

0 commit comments

Comments
 (0)