diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-08-29 20:21:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-08-29 20:21:26 +0100 |
| commit | cb92077b0a6730f1d71931300ad293e29185c47d (patch) | |
| tree | 5a6d540b09d5ee177300e61994db26bc9cb5061a /src/kdm.cc | |
| parent | b2c879b0ef98958bb706d5c519ed4dbf0dd23619 (diff) | |
Change to libcxml API.
Diffstat (limited to 'src/kdm.cc')
| -rw-r--r-- | src/kdm.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"); |
