aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-11-03 18:04:28 +0000
committerlloyd <[email protected]>2010-11-03 18:04:28 +0000
commit23836c690363a0fbdf39e2c347b87eed3f20e089 (patch)
tree670208a0fee798d54ad03bf8a4658cfa0fef8ff0 /src/stream
parent832da89700302a0d837ad4483608193bc8fa31fe (diff)
Remove needless destructors
Diffstat (limited to 'src/stream')
-rw-r--r--src/stream/salsa20/salsa20.h2
1 files changed, 0 insertions, 2 deletions
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);