aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_fuzzer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_fuzzer.cpp')
-rw-r--r--src/tests/test_fuzzer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/test_fuzzer.cpp b/src/tests/test_fuzzer.cpp
index 7ce972a33..91d301826 100644
--- a/src/tests/test_fuzzer.cpp
+++ b/src/tests/test_fuzzer.cpp
@@ -35,15 +35,13 @@ class Fuzzer_Input_Tests : public Test
#if defined(BOTAN_HAS_X509_CERTIFICATES)
Test::Result test_x509_fuzz()
{
- const std::string TEST_DATA_DIR_FUZZ_X509 = TEST_DATA_DIR "/fuzz/x509";
-
Test::Result result("X.509 fuzzing");
std::vector<std::string> files;
try
{
- files = Botan::get_files_recursive(TEST_DATA_DIR_FUZZ_X509);
+ files = Botan::get_files_recursive(Test::data_dir("fuzz/x509"));
}
catch(Botan::No_Filesystem_Access)
{