projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84d778a
)
Make sure we have a recipient cert when making KDMs.
author
Carl Hetherington
<cth@carlh.net>
Mon, 14 Jan 2013 20:46:19 +0000
(20:46 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 14 Jan 2013 20:46:19 +0000
(20:46 +0000)
src/dcp.cc
patch
|
blob
|
history
diff --git
a/src/dcp.cc
b/src/dcp.cc
index b3048bae0475fe8b54d7da778c049864d9f4d8ad..73c8a2cd422433c2b65fdac993f23698b4cd618a 100644
(file)
--- a/
src/dcp.cc
+++ b/
src/dcp.cc
@@
-584,6
+584,8
@@
CPL::make_kdm (
boost::posix_time::ptime until
) const
{
+ assert (recipient_cert);
+
shared_ptr<xmlpp::Document> doc (new xmlpp::Document);
xmlpp::Element* root = doc->create_root_node ("DCinemaSecurityMessage");
root->set_namespace_declaration ("http://www.smpte-ra.org/schemas/430-3/2006/ETM", "");