diff options
author | Jack Lloyd <[email protected]> | 2017-12-29 11:52:18 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-12-29 11:52:18 -0500 |
commit | 33eead87d274cc35842389bbe591585a2cb675a3 (patch) | |
tree | 91bf2a13841a5a324832d180ebd97173bf4953ba /src/tests/tests.h | |
parent | 994db72e812421cd1c81f93ce43625d3dcd551e2 (diff) |
Move utils for reading test data files up to Test:: from OCSP
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r-- | src/tests/tests.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h index 9ab8e43b8..193f7e06d 100644 --- a/src/tests/tests.h +++ b/src/tests/tests.h @@ -413,6 +413,9 @@ class Test static const std::string& data_dir(); + static std::string read_data_file(const std::string& path); + static std::vector<uint8_t> read_binary_data_file(const std::string& path); + static Botan::RandomNumberGenerator& rng(); static std::string random_password(); static uint64_t timestamp(); // nanoseconds arbitrary epoch |