summaryrefslogtreecommitdiff
path: root/src/kdm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/kdm.cc')
-rw-r--r--src/kdm.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kdm.cc b/src/kdm.cc
index 6936bc1e..09935ca3 100644
--- a/src/kdm.cc
+++ b/src/kdm.cc
@@ -56,7 +56,8 @@ KDM::KDM (boost::filesystem::path kdm, boost::filesystem::path private_key)
/* Read the KDM, decrypting it */
- cxml::File f (kdm.string (), "DCinemaSecurityMessage");
+ cxml::Document f ("DCinemaSecurityMessage");
+ f.read_file (kdm.string ());
shared_ptr<cxml::Node> authenticated_private = f.node_child ("AuthenticatedPrivate");
list<shared_ptr<cxml::Node> > encrypted_keys = authenticated_private->node_children ("EncryptedKey");