aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_rng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_rng.cpp')
-rw-r--r--src/tests/test_rng.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_rng.cpp b/src/tests/test_rng.cpp
index 626fe85b5..a5dbbc8e1 100644
--- a/src/tests/test_rng.cpp
+++ b/src/tests/test_rng.cpp
@@ -58,7 +58,7 @@ Botan::RandomNumberGenerator* get_rng(const std::string& algo_str, const std::ve
class X931_RNG_Tests : public Text_Based_Test
{
public:
- X931_RNG_Tests() : Text_Based_Test(Test::data_file("x931.vec"), {"IKM", "L", "Out"}) {}
+ X931_RNG_Tests() : Text_Based_Test("x931.vec", {"IKM", "L", "Out"}) {}
Test::Result run_one_test(const std::string& algo, const VarMap& vars) override
{
@@ -88,7 +88,7 @@ BOTAN_REGISTER_TEST("x931_rng", X931_RNG_Tests);
class HMAC_DRBG_Tests : public Text_Based_Test
{
public:
- HMAC_DRBG_Tests() : Text_Based_Test(Test::data_file("hmac_drbg.vec"),
+ HMAC_DRBG_Tests() : Text_Based_Test("hmac_drbg.vec",
{"EntropyInput", "EntropyInputReseed", "Out"}) {}
Test::Result run_one_test(const std::string& algo, const VarMap& vars) override