Skip to content

Commit 4b10e56

Browse files
committed
F-2389 - https://fenrir.wolfssl.com/finding/2389 - Zero token master encryption key on C_Logout
1 parent 161a8fb commit 4b10e56

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/internal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6963,6 +6963,7 @@ void WP11_Slot_Logout(WP11_Slot* slot)
69636963
object = object->next;
69646964
}
69656965
}
6966+
wc_ForceZero(slot->token.key, sizeof(slot->token.key));
69666967
#endif
69676968
slot->token.loginState = WP11_APP_STATE_RW_PUBLIC;
69686969

0 commit comments

Comments
 (0)