diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-17 16:52:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-17 16:52:45 +0100 |
| commit | 9026320cc48e9c200d33aae9e8f601f29542e186 (patch) | |
| tree | ab1f49dd88bf2b1006ca42fd7f753f46aca03fa6 /test | |
| parent | 3d77daab7639c06d1cdbeb852559fc4be5671819 (diff) | |
Get Signer to take a PEM string rather than a filename.
Diffstat (limited to 'test')
| -rw-r--r-- | test/encryption_test.cc | 2 | ||||
| -rw-r--r-- | test/round_trip_test.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/encryption_test.cc b/test/encryption_test.cc index 5abe53aa..600a4eae 100644 --- a/test/encryption_test.cc +++ b/test/encryption_test.cc @@ -76,7 +76,7 @@ BOOST_AUTO_TEST_CASE (encryption_test) shared_ptr<dcp::Signer> signer ( new dcp::Signer ( chain, - "test/ref/crypt/leaf.key" + dcp::file_to_string ("test/ref/crypt/leaf.key") ) ); diff --git a/test/round_trip_test.cc b/test/round_trip_test.cc index 311fe6d5..899734f4 100644 --- a/test/round_trip_test.cc +++ b/test/round_trip_test.cc @@ -54,7 +54,7 @@ BOOST_AUTO_TEST_CASE (round_trip_test) shared_ptr<dcp::Signer> signer ( new dcp::Signer ( chain, - "test/data/signer.key" + dcp::file_to_string ("test/data/signer.key") ) ); |
