aboutsummaryrefslogtreecommitdiffstats
path: root/src/s2k/pgps2k/pgp_s2k.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s2k/pgps2k/pgp_s2k.h')
-rw-r--r--src/s2k/pgps2k/pgp_s2k.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/s2k/pgps2k/pgp_s2k.h b/src/s2k/pgps2k/pgp_s2k.h
index d4c6a02bb..cfe9bf5d5 100644
--- a/src/s2k/pgps2k/pgp_s2k.h
+++ b/src/s2k/pgps2k/pgp_s2k.h
@@ -27,6 +27,9 @@ class BOTAN_DLL OpenPGP_S2K : public S2K
const byte salt[], u32bit salt_len,
u32bit iterations) const;
+ /**
+ * @param hash_in the hash function to use
+ */
OpenPGP_S2K(HashFunction* hash_in) : hash(hash_in) {}
~OpenPGP_S2K() { delete hash; }
private: