diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-02-14 22:13:31 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-02-14 22:16:07 +0000 |
| commit | e2a4e0f08c9e8cc82fb20f1cd358897fae46c9ee (patch) | |
| tree | e936e7abbaeb3a07806499f194861525752ab25f /src/decrypted_kdm.cc | |
| parent | 4a5ef0b4dc6310c5eb7a35fb1c79541bf856b9a8 (diff) | |
Use a bool instead of an int for disable-forensic-picture and
a optional<int> instead of an int with a magic -1 for
disable-forensic-audio.
Diffstat (limited to 'src/decrypted_kdm.cc')
| -rw-r--r-- | src/decrypted_kdm.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/decrypted_kdm.cc b/src/decrypted_kdm.cc index 53e958c1..0fa95f9a 100644 --- a/src/decrypted_kdm.cc +++ b/src/decrypted_kdm.cc @@ -303,7 +303,12 @@ DecryptedKDM::add_key (DecryptedKDMKey key) EncryptedKDM DecryptedKDM::encrypt ( - shared_ptr<const CertificateChain> signer, Certificate recipient, vector<Certificate> trusted_devices, Formulation formulation, int disable_forensic_marking_picture, int disable_forensic_marking_audio + shared_ptr<const CertificateChain> signer, + Certificate recipient, + vector<Certificate> trusted_devices, + Formulation formulation, + bool disable_forensic_marking_picture, + optional<int> disable_forensic_marking_audio ) const { DCP_ASSERT (!_keys.empty ()); |
