diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-18 13:12:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-18 13:12:41 +0100 |
| commit | 5ea52a08f45b0cb8b8fe7221244cdcdeeaca0ed7 (patch) | |
| tree | ff9b2d893caa5a1d2914b52e98112f22fb96bdec /src/tools | |
| parent | 684da6bed46635f72d93c57a8721b63aa7e10ed5 (diff) | |
Keep signing certificates / keys in config.xml rather than on disk; allow configuration.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic_kdm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc index 2ad07cce7..4068dc51a 100644 --- a/src/tools/dcpomatic_kdm.cc +++ b/src/tools/dcpomatic_kdm.cc @@ -248,7 +248,7 @@ int main (int argc, char* argv[]) error ("you must specify --output"); } - shared_ptr<dcp::Certificate> certificate (new dcp::Certificate (boost::filesystem::path (certificate_file))); + shared_ptr<dcp::Certificate> certificate (new dcp::Certificate (dcp::file_to_string (certificate_file))); dcp::EncryptedKDM kdm = film->make_kdm (certificate, cpl, valid_from.get(), valid_to.get(), formulation); kdm.as_xml (output); if (verbose) { |
