Skip to content

Commit d97d95d

Browse files
committed
Fix finding 425
1 parent d721f7b commit d97d95d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/tpm2_wrap.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7166,6 +7166,8 @@ int wolfTPM2_CreateKeySeal_ex(WOLFTPM2_DEV* dev, WOLFTPM2_KEYBLOB* keyBlob,
71667166
wolfTPM2_CopyPub(&keyBlob->pub, &createOut.outPublic);
71677167
wolfTPM2_CopyPriv(&keyBlob->priv, &createOut.outPrivate);
71687168

7169+
TPM2_ForceZero(&createIn.inSensitive, sizeof(createIn.inSensitive));
7170+
71697171
return rc;
71707172
}
71717173

0 commit comments

Comments
 (0)