aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_kdf.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-12-19 19:20:53 -0500
committerJack Lloyd <[email protected]>2015-12-19 19:20:53 -0500
commita24c4cd9b26b0533464e8bd4b3016d01b84181cf (patch)
tree8b8e7274190cfcd875badfdc10257df391d69926 /src/tests/test_kdf.cpp
parent93737a7fe053b154ec56197d85c1b3f009826539 (diff)
If skipping a test due to diabled algo, only print if in verbose mode.
Also fix KDF tests which failed on missing algo GH #367
Diffstat (limited to 'src/tests/test_kdf.cpp')
-rw-r--r--src/tests/test_kdf.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/test_kdf.cpp b/src/tests/test_kdf.cpp
index d9a172bad..ccf742edd 100644
--- a/src/tests/test_kdf.cpp
+++ b/src/tests/test_kdf.cpp
@@ -26,7 +26,8 @@ class KDF_KAT_Tests : public Text_Based_Test
Test::Result run_one_test(const std::string& kdf_name, const VarMap& vars)
{
Test::Result result(kdf_name);
- std::unique_ptr<Botan::KDF> kdf(Botan::get_kdf(kdf_name));
+
+ std::unique_ptr<Botan::KDF> kdf(Botan::KDF::create(kdf_name));
if(!kdf)
{