diff options
Diffstat (limited to 'src/asset_writer.cc')
| -rw-r--r-- | src/asset_writer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/asset_writer.cc b/src/asset_writer.cc index eb55feaf..4611b38a 100644 --- a/src/asset_writer.cc +++ b/src/asset_writer.cc @@ -45,9 +45,9 @@ AssetWriter::AssetWriter (MXF* mxf, boost::filesystem::path file) if (ASDCP_FAILURE (_encryption_context->InitKey (mxf->key()->value ()))) { throw MiscError ("could not set up encryption context"); } - + uint8_t cbc_buffer[ASDCP::CBC_BLOCK_SIZE]; - + Kumu::FortunaRNG rng; if (ASDCP_FAILURE (_encryption_context->SetIVec (rng.FillRandom (cbc_buffer, ASDCP::CBC_BLOCK_SIZE)))) { throw MiscError ("could not set up CBC initialization vector"); |
