diff --git a/src/crypto/chacha8.h b/src/crypto/chacha8.h index fca5df703c..825346b3b8 100644 --- a/src/crypto/chacha8.h +++ b/src/crypto/chacha8.h @@ -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