aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/unit_x509.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-11-16 13:34:51 -0500
committerJack Lloyd <[email protected]>2017-11-16 13:34:51 -0500
commitf458becc9c2ecb004557daad63623b8dafefe163 (patch)
tree3639e5e7bc56123e5ed550cfb891a41f947b6a62 /src/tests/unit_x509.cpp
parent24173844eb629f6316ea0523a97b2f9561fee9e6 (diff)
Move all the various X509 test data files under src/tests/data/x509
Diffstat (limited to 'src/tests/unit_x509.cpp')
-rw-r--r--src/tests/unit_x509.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/unit_x509.cpp b/src/tests/unit_x509.cpp
index d2156cf60..72c497ca7 100644
--- a/src/tests/unit_x509.cpp
+++ b/src/tests/unit_x509.cpp
@@ -367,9 +367,9 @@ Test::Result test_crl_dn_name()
const Botan::OID dc_oid("0.9.2342.19200300.100.1.25");
- Botan::X509_Certificate cert(Test::data_file("misc_certs/opcuactt_ca.der"));
+ Botan::X509_Certificate cert(Test::data_file("x509/misc/opcuactt_ca.der"));
- Botan::DataSource_Stream key_input(Test::data_file("misc_certs/opcuactt_ca.pem"));
+ Botan::DataSource_Stream key_input(Test::data_file("x509/misc/opcuactt_ca.pem"));
std::unique_ptr<Botan::Private_Key> key = Botan::PKCS8::load_key(key_input);
Botan::X509_CA ca(cert, *key, "SHA-256", Test::rng());
@@ -389,7 +389,7 @@ Test::Result test_x509_utf8()
try
{
- Botan::X509_Certificate utf8_cert(Test::data_file("x509test/contains_utf8string.pem"));
+ Botan::X509_Certificate utf8_cert(Test::data_file("x509/misc/contains_utf8string.pem"));
// UTF-8 encoded fields of test certificate (contains cyrillic letters)
const std::string organization =
@@ -425,7 +425,7 @@ Test::Result test_x509_bmpstring()
try
{
- Botan::X509_Certificate ucs2_cert(Test::data_file("x509test/contains_bmpstring.pem"));
+ Botan::X509_Certificate ucs2_cert(Test::data_file("x509/misc/contains_bmpstring.pem"));
// UTF-8 encoded fields of test certificate (contains cyrillic and greek letters)
const std::string organization =