Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/crypto/chacha8.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ namespace Crypto {
struct chacha8_key {
uint8_t data[CHACHA8_KEY_SIZE];

~chacha8_key()
{
memset(data, 0, sizeof(data));
}
};

// MS VC 2012 doesn't interpret `class chacha8_iv` as POD in spite of [9.0.10], so it is a struct
Expand Down