From f458becc9c2ecb004557daad63623b8dafefe163 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Thu, 16 Nov 2017 13:34:51 -0500 Subject: Move all the various X509 test data files under src/tests/data/x509 --- src/tests/unit_x509.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tests/unit_x509.cpp') 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 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 = -- cgit v1.2.3