summaryrefslogtreecommitdiff
path: root/src/mxf.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-03-02 20:11:32 +0000
committerCarl Hetherington <cth@carlh.net>2016-03-02 20:11:32 +0000
commit1caefd8541e12e7d205c3d5bb46f3ec84719baa0 (patch)
treea9e7197abdbd96c32cfb1788bf7342b50b104e30 /src/mxf.cc
parent891aceb5b3cda5b825ff77e791d2bd476ea3343d (diff)
Actually turn on HMAC use.
Diffstat (limited to 'src/mxf.cc')
-rw-r--r--src/mxf.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mxf.cc b/src/mxf.cc
index 1c493901..260e270e 100644
--- a/src/mxf.cc
+++ b/src/mxf.cc
@@ -70,6 +70,8 @@ MXF::fill_writer_info (ASDCP::WriterInfo* writer_info, string id, Standard stand
Kumu::hex2bin (id.c_str(), writer_info->AssetUUID, Kumu::UUID_Length, &c);
DCP_ASSERT (c == Kumu::UUID_Length);
+ writer_info->UsesHMAC = true;
+
if (_key_id) {
Kumu::GenRandomUUID (writer_info->ContextID);
writer_info->EncryptedEssence = true;