aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hash/mdx_hash/mdx_hash.h2
-rw-r--r--src/stream/salsa20/salsa20.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/hash/mdx_hash/mdx_hash.h b/src/hash/mdx_hash/mdx_hash.h
index 9e32ac003..ed3381605 100644
--- a/src/hash/mdx_hash/mdx_hash.h
+++ b/src/hash/mdx_hash/mdx_hash.h
@@ -30,8 +30,6 @@ class BOTAN_DLL MDx_HashFunction : public HashFunction
size_t counter_size = 8);
size_t hash_block_size() const { return buffer.size(); }
-
- virtual ~MDx_HashFunction() {}
protected:
void add_data(const byte input[], size_t length);
void final_result(byte output[]);
diff --git a/src/stream/salsa20/salsa20.h b/src/stream/salsa20/salsa20.h
index d84aa9cdc..d9645015f 100644
--- a/src/stream/salsa20/salsa20.h
+++ b/src/stream/salsa20/salsa20.h
@@ -35,8 +35,6 @@ class BOTAN_DLL Salsa20 : public StreamCipher
StreamCipher* clone() const { return new Salsa20; }
Salsa20() : state(16), buffer(64), position(0) {}
-
- ~Salsa20() { clear(); }
private:
void key_schedule(const byte key[], size_t key_len);