diff --git a/src/lib/key_material.cpp b/src/lib/key_material.cpp index 6faaae666..43f81519e 100644 --- a/src/lib/key_material.cpp +++ b/src/lib/key_material.cpp @@ -191,10 +191,6 @@ KeyParams::create(pgp_pubkey_alg_t alg) } } -DSAKeyParams::DSAKeyParams() : BitsKeyParams(DSA_DEFAULT_P_BITLEN), qbits_(0) -{ -} - void DSAKeyParams::check_defaults() noexcept { diff --git a/src/lib/key_material.hpp b/src/lib/key_material.hpp index e4ea3d036..9a03e9915 100644 --- a/src/lib/key_material.hpp +++ b/src/lib/key_material.hpp @@ -84,7 +84,7 @@ class DSAKeyParams : public BitsKeyParams { size_t qbits_; public: - DSAKeyParams(); + DSAKeyParams() : BitsKeyParams(DSA_DEFAULT_P_BITLEN), qbits_(0){}; size_t qbits() const noexcept