+2018-12-10 Carl Hetherington <cth@carlh.net>
+
+ * Accept certificate chains to dcpomatic2_kdm_cli as well
+ as single certificates.
+
2018-12-08 Carl Hetherington <cth@carlh.net>
* Prototype system to allow in-place translations.
case 'C':
{
/* Make a new screen and add it to the current cinema */
- shared_ptr<Screen> screen (new Screen (screen_description, dcp::Certificate (dcp::file_to_string (optarg)), vector<TrustedDevice>()));
+ dcp::CertificateChain chain (dcp::file_to_string(optarg));
+ shared_ptr<Screen> screen (new Screen (screen_description, chain.leaf(), vector<TrustedDevice>()));
if (cinema) {
cinema->add_screen (screen);
}