summaryrefslogtreecommitdiff
path: root/src/h__Reader.cpp
diff options
context:
space:
mode:
authormilla <marc.illa@dolby.com>2021-05-27 14:14:37 +0200
committermilla <marc.illa@dolby.com>2021-06-03 14:25:33 +0200
commit5b65f80ccb835106b6e1ee120542d493ca02336e (patch)
tree72f06895d8f39d8526ef264e09f569c1c6af0b0c /src/h__Reader.cpp
parentf9d7fbc33aa571c547d916b145712469efd9f4b8 (diff)
Fix compilation without OPENSSL
Diffstat (limited to 'src/h__Reader.cpp')
-rwxr-xr-xsrc/h__Reader.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/h__Reader.cpp b/src/h__Reader.cpp
index ce2abf6..58677aa 100755
--- a/src/h__Reader.cpp
+++ b/src/h__Reader.cpp
@@ -358,6 +358,7 @@ ASDCP::Read_EKLV_Packet(Kumu::FileReader& File, const ASDCP::Dictionary& Dict,
return RESULT_FORMAT;
}
+#ifdef HAVE_OPENSSL
if ( Ctx )
{
// wrap the pointer and length as a FrameBuffer for use by
@@ -379,7 +380,8 @@ ASDCP::Read_EKLV_Packet(Kumu::FileReader& File, const ASDCP::Dictionary& Dict,
}
}
else // return ciphertext to caller
- {
+#endif //HAVE_OPENSSL
+ {
if ( FrameBuf.Capacity() < tmp_len )
{
char intbuf[IntBufferLen];