diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-07-30 17:00:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-07-30 17:00:48 +0100 |
| commit | 682c060342d96e7511d09a5b86df605771f3a907 (patch) | |
| tree | c5424127dd4c6af71623177862f5af7f9318aa32 /src/lib/dcp_decoder.cc | |
| parent | 54f93021620b7d26120c32b5f45a0d046d3612de (diff) | |
Allow config of the full KDM decryption chain.
Diffstat (limited to 'src/lib/dcp_decoder.cc')
| -rw-r--r-- | src/lib/dcp_decoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_decoder.cc b/src/lib/dcp_decoder.cc index 053ff4f68..9cd327a52 100644 --- a/src/lib/dcp_decoder.cc +++ b/src/lib/dcp_decoder.cc @@ -49,7 +49,7 @@ DCPDecoder::DCPDecoder (shared_ptr<const DCPContent> c) dcp::DCP dcp (c->directory ()); dcp.read (); if (c->kdm ()) { - dcp.add (dcp::DecryptedKDM (c->kdm().get (), Config::instance()->decryption_private_key ())); + dcp.add (dcp::DecryptedKDM (c->kdm().get (), Config::instance()->decryption_chain()->key().get ())); } DCPOMATIC_ASSERT (dcp.cpls().size() == 1); _reels = dcp.cpls().front()->reels (); |
