aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/kdf/kdf1/kdf1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/kdf/kdf1/kdf1.h')
-rw-r--r--src/lib/kdf/kdf1/kdf1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/kdf/kdf1/kdf1.h b/src/lib/kdf/kdf1/kdf1.h
index 2697685ac..adaa84894 100644
--- a/src/lib/kdf/kdf1/kdf1.h
+++ b/src/lib/kdf/kdf1/kdf1.h
@@ -27,7 +27,7 @@ class BOTAN_DLL KDF1 final : public KDF
const byte secret[], size_t secret_len,
const byte salt[], size_t salt_len) const override;
- KDF1(HashFunction* h) : m_hash(h) {}
+ explicit KDF1(HashFunction* h) : m_hash(h) {}
private:
std::unique_ptr<HashFunction> m_hash;
};