summaryrefslogtreecommitdiff
path: root/src/lib/dcp_examiner.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-10-11 19:57:22 +0100
committerCarl Hetherington <cth@carlh.net>2016-10-11 19:57:22 +0100
commitb55c6c5496f6c8248dd51bbcaecb80ef0efcbadb (patch)
tree0ccd243f9024e9dbee99dd43672cd3f7ecb4f79a /src/lib/dcp_examiner.cc
parente90a898fd817f3a419134082ce390d66925c2fa4 (diff)
Fix crash on opening content menu for DCPs that have had incorrect KDMs added.
Diffstat (limited to 'src/lib/dcp_examiner.cc')
-rw-r--r--src/lib/dcp_examiner.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc
index e25583cb6..74640ff00 100644
--- a/src/lib/dcp_examiner.cc
+++ b/src/lib/dcp_examiner.cc
@@ -192,10 +192,6 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content)
}
} catch (dcp::DCPReadError& e) {
_kdm_valid = false;
- if (_encrypted && content->kdm ()) {
- /* XXX: maybe don't use an exception for this */
- throw runtime_error (_("The KDM does not decrypt the DCP. Perhaps it is targeted at the wrong CPL."));
- }
}
DCPOMATIC_ASSERT (cpl->standard ());