summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-09-19 14:15:31 +0100
committerCarl Hetherington <cth@carlh.net>2013-09-19 14:15:31 +0100
commit1c24485f58cdb133477b4e1e201ba0acd93ac74e (patch)
treeb3885ecbed9f0a64219beaad7436480f8b863e86 /test
parent452144160eb864984121d3fa883a12d40fbf7e47 (diff)
Rename crypt_chain -> signer_chain.
Diffstat (limited to 'test')
-rw-r--r--test/encryption_test.cc6
-rw-r--r--test/tests.cc10
2 files changed, 8 insertions, 8 deletions
diff --git a/test/encryption_test.cc b/test/encryption_test.cc
index 11028083..1b0de19a 100644
--- a/test/encryption_test.cc
+++ b/test/encryption_test.cc
@@ -39,9 +39,9 @@ BOOST_AUTO_TEST_CASE (encryption)
libdcp::DCP d ("build/test/DCP/bar");
libdcp::CertificateChain chain;
- chain.add (shared_ptr<libdcp::Certificate> (new libdcp::Certificate ("build/test/crypt/ca.self-signed.pem")));
- chain.add (shared_ptr<libdcp::Certificate> (new libdcp::Certificate ("build/test/crypt/intermediate.signed.pem")));
- chain.add (shared_ptr<libdcp::Certificate> (new libdcp::Certificate ("build/test/crypt/leaf.signed.pem")));
+ chain.add (shared_ptr<libdcp::Certificate> (new libdcp::Certificate ("build/test/signer/ca.self-signed.pem")));
+ chain.add (shared_ptr<libdcp::Certificate> (new libdcp::Certificate ("build/test/signer/intermediate.signed.pem")));
+ chain.add (shared_ptr<libdcp::Certificate> (new libdcp::Certificate ("build/test/signer/leaf.signed.pem")));
shared_ptr<libdcp::Signer> signer (
new libdcp::Signer (
diff --git a/test/tests.cc b/test/tests.cc
index 28e15cf1..5e63d5ed 100644
--- a/test/tests.cc
+++ b/test/tests.cc
@@ -31,7 +31,7 @@
#include "sound_asset.h"
#include "reel.h"
#include "certificates.h"
-#include "crypt_chain.h"
+#include "signer_chain.h"
#include "gamma_lut.h"
#include "cpl.h"
#include "signer.h"
@@ -84,11 +84,11 @@ static string test_corpus = "../libdcp-test";
#include "recovery_test.cc"
#include "certificates_test.cc"
-BOOST_AUTO_TEST_CASE (crypt_chain)
+BOOST_AUTO_TEST_CASE (signer_chain)
{
- boost::filesystem::remove_all ("build/test/crypt");
- boost::filesystem::create_directory ("build/test/crypt");
- libdcp::make_crypt_chain ("build/test/crypt");
+ boost::filesystem::remove_all ("build/test/signer");
+ boost::filesystem::create_directory ("build/test/signer");
+ libdcp::make_signer_chain ("build/test/signer");
}
#include "encryption_test.cc"