aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-12-31 17:29:54 -0500
committerJack Lloyd <[email protected]>2018-12-31 17:29:54 -0500
commitea5db236715ffd07ca7e43e27946596ccfba8ef0 (patch)
treebd1eb0c30732339cf8d4e5e52660c613c0af26a4 /src/tests
parente6a8664c7b644225d7ee7f81e9e5c2800c69355b (diff)
Use Test::data_file in these tests
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_certstor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_certstor.cpp b/src/tests/test_certstor.cpp
index 5bf8ce8fa..185c6a64b 100644
--- a/src/tests/test_certstor.cpp
+++ b/src/tests/test_certstor.cpp
@@ -252,9 +252,9 @@ Test::Result test_certstor_sqlite3_find_all_certs_test(const std::vector<Certifi
}
Botan::X509_Certificate same_dn_1 = Botan::X509_Certificate(
- "./src/tests/data/x509/bsi/cert_path_common_14/cert_path_common_14_sub_ca.ca.pem.crt");
+ Test::data_file("x509/bsi/cert_path_common_14/cert_path_common_14_sub_ca.ca.pem.crt"));
Botan::X509_Certificate same_dn_2 = Botan::X509_Certificate(
- "./src/tests/data/x509/bsi/cert_path_common_14/cert_path_common_14_wrong_sub_ca.ca.pem.crt");
+ Test::data_file("x509/bsi/cert_path_common_14/cert_path_common_14_wrong_sub_ca.ca.pem.crt"));
store.insert_cert(same_dn_1);
store.insert_cert(same_dn_2);