diff options
author | lloyd <[email protected]> | 2009-12-21 13:53:40 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-21 13:53:40 +0000 |
commit | 93e8fd697d009dfef3b994a77936cbf88d2d2ba3 (patch) | |
tree | e31140bd8a9f4de3fa0a4705dce389acf50197a0 /src/s2k | |
parent | 75f32d61c6a78e4e63cfadd084730f20b5896493 (diff) | |
parent | 1d595f8976483078c292e365bde3949c9de26332 (diff) |
propagate from branch 'net.randombit.botan' (head 14c1d4dc8696d2705a70ec3d2403e01d2ca95265)
to branch 'net.randombit.botan.c++0x' (head c567fa7310ba082a837562092728c4b4b882bf82)
Diffstat (limited to 'src/s2k')
-rw-r--r-- | src/s2k/s2k.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/s2k/s2k.h b/src/s2k/s2k.h index 7af92519b..ca86ab77a 100644 --- a/src/s2k/s2k.h +++ b/src/s2k/s2k.h @@ -87,12 +87,13 @@ class BOTAN_DLL S2K S2K() { iter = 0; } virtual ~S2K() {} - private: - S2K(const S2K&) {} - S2K& operator=(const S2K&) { return (*this); } + S2K(const S2K&) = delete; + S2K& operator=(const S2K&) = delete; + private: virtual OctetString derive(u32bit, const std::string&, const byte[], u32bit, u32bit) const = 0; + SecureVector<byte> salt; u32bit iter; }; |