diff options
Diffstat (limited to 'src/tests/test_dh.cpp')
-rw-r--r-- | src/tests/test_dh.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/tests/test_dh.cpp b/src/tests/test_dh.cpp index 8724d92fb..486e6dfe0 100644 --- a/src/tests/test_dh.cpp +++ b/src/tests/test_dh.cpp @@ -91,14 +91,7 @@ class Diffie_Hellman_Keygen_Tests : public PK_Key_Generation_Test { public: std::vector<std::string> keygen_params() const override { return { "modp/ietf/1024", "modp/ietf/2048" }; } - - std::unique_ptr<Botan::Private_Key> make_key(Botan::RandomNumberGenerator& rng, - const std::string& param) const override - { - Botan::DL_Group group(param); - std::unique_ptr<Botan::Private_Key> key(new Botan::DH_PrivateKey(rng, group)); - return key; - } + std::string algo_name() const override { return "DH"; } }; |