diff options
author | lloyd <[email protected]> | 2009-12-08 15:29:22 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-08 15:29:22 +0000 |
commit | 457ce43934a4e51ead4d21e43013eef9d448d0e1 (patch) | |
tree | c40635ba737cf01f8e1e8c894422683222c07c4b /src/s2k | |
parent | f63359f348d347bebee036b11d0c9641ee3d56d6 (diff) | |
parent | 9559e323cb631af4e154f5fd30ff2927748817ed (diff) |
propagate from branch 'net.randombit.botan' (head 142a9359ba02d5dfcf3f2c9f99902f82ab41724e)
to branch 'net.randombit.botan.c++0x' (head 390a9abce0eb6ee24eeb3cd243b6dcaaa8944ad0)
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; }; |