summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mxf_asset.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mxf_asset.cc b/src/mxf_asset.cc
index f8fe8ac5..54c204e7 100644
--- a/src/mxf_asset.cc
+++ b/src/mxf_asset.cc
@@ -61,6 +61,7 @@ MXFAsset::MXFAsset (string directory, string file_name, boost::signals2::signal<
, _decryption_context (0)
{
if (_encrypted) {
+ /* Generate an encryption key and a UUID for it */
_key_id = make_uuid ();
uint8_t key_buffer[ASDCP::KeyLen];
Kumu::FortunaRNG rng;