Fix crash on opening content menu for DCPs that have had incorrect KDMs added.
[dcpomatic.git] / src / lib / dcp_examiner.cc
index e25583cb69064b9ac3dd2fdb7352ab17c13efece..74640ff00358146b8c3dc0f8307ea35aa7d3b9e1 100644 (file)
@@ -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 ());