diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-16 14:01:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-16 14:01:46 +0100 |
| commit | c3ee26fb99346986340e590f8605ae99564a4934 (patch) | |
| tree | b599f134ad26d6a7df7bb25b62fd3917b99cf5ea /src | |
| parent | a75132724be4962225e5cb0f5ef5297e2e78aeee (diff) | |
Fix erroneous urn:uuid: prefix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/encrypted_kdm.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/encrypted_kdm.cc b/src/encrypted_kdm.cc index be22ca5b..d7cdd8dd 100644 --- a/src/encrypted_kdm.cc +++ b/src/encrypted_kdm.cc @@ -282,7 +282,8 @@ public: xmlpp::Element* device_list = node->add_child ("DeviceList"); device_list->add_child("CertificateThumbprint")->add_child_text (certificate_thumbprint); } - + + /** DeviceListIdentifier without the urn:uuid: prefix */ string device_list_identifier; string device_list_description; string certificate_thumbprint; @@ -521,7 +522,7 @@ EncryptedKDM::EncryptedKDM ( kre.content_title_text = content_title_text; kre.not_valid_before = not_valid_before; kre.not_valid_after = not_valid_after; - kre.authorized_device_info.device_list_identifier = "urn:uuid:" + make_uuid (); + kre.authorized_device_info.device_list_identifier = make_uuid (); string n = recipient->common_name (); if (n.find (".") != string::npos) { n = n.substr (n.find (".") + 1); |
