summaryrefslogtreecommitdiff
path: root/src/decrypted_kdm.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-26 20:33:19 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-26 20:33:19 +0100
commitd87f979ea98a19614f164a0d49fccc1be926e789 (patch)
tree5558493eb6c717f59c587e01a3041d122eb346f4 /src/decrypted_kdm.cc
parentecd8cbc534e82d0644d15fa483c2b6bf54876276 (diff)
Forward-port KDM formulation from v0.
Diffstat (limited to 'src/decrypted_kdm.cc')
-rw-r--r--src/decrypted_kdm.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decrypted_kdm.cc b/src/decrypted_kdm.cc
index 3d442ce7..8a714b1e 100644
--- a/src/decrypted_kdm.cc
+++ b/src/decrypted_kdm.cc
@@ -211,7 +211,7 @@ DecryptedKDM::DecryptedKDM (
}
EncryptedKDM
-DecryptedKDM::encrypt (shared_ptr<const Signer> signer, shared_ptr<const Certificate> recipient) const
+DecryptedKDM::encrypt (shared_ptr<const Signer> signer, shared_ptr<const Certificate> recipient, Formulation formulation) const
{
list<pair<string, string> > key_ids;
list<string> keys;
@@ -273,6 +273,7 @@ DecryptedKDM::encrypt (shared_ptr<const Signer> signer, shared_ptr<const Certifi
_content_title_text,
_not_valid_before,
_not_valid_after,
+ formulation,
key_ids,
keys
);