aboutsummaryrefslogtreecommitdiffstats
path: root/src/s2k
diff options
context:
space:
mode:
Diffstat (limited to 'src/s2k')
-rw-r--r--src/s2k/s2k.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/s2k/s2k.h b/src/s2k/s2k.h
index 3efcff638..d345d77de 100644
--- a/src/s2k/s2k.h
+++ b/src/s2k/s2k.h
@@ -86,6 +86,9 @@ class BOTAN_DLL S2K
S2K() { iter = 0; }
virtual ~S2K() {}
private:
+ S2K(const S2K&) {}
+ S2K& operator=(const S2K&) { return (*this); }
+
virtual OctetString derive(u32bit, const std::string&,
const byte[], u32bit, u32bit) const = 0;
SecureVector<byte> salt;