summaryrefslogtreecommitdiff
path: root/src/as-02-unwrap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/as-02-unwrap.cpp')
-rwxr-xr-xsrc/as-02-unwrap.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/as-02-unwrap.cpp b/src/as-02-unwrap.cpp
index 8625012..64a399a 100755
--- a/src/as-02-unwrap.cpp
+++ b/src/as-02-unwrap.cpp
@@ -360,6 +360,7 @@ read_JP2K_file(CommandOptions& Options)
}
}
+#ifdef HAVE_OPENSSL
if ( ASDCP_SUCCESS(result) && Options.key_flag )
{
Context = new AESDecContext;
@@ -381,6 +382,7 @@ read_JP2K_file(CommandOptions& Options)
}
}
}
+#endif // HAVE_OPENSSL
ui32_t last_frame = Options.start_frame + ( Options.duration ? Options.duration : frame_count);
if ( last_frame > frame_count )
@@ -485,6 +487,7 @@ read_ACES_file(CommandOptions& Options)
}
}
+#ifdef HAVE_OPENSSL
if (ASDCP_SUCCESS(result) && Options.key_flag)
{
Context = new AESDecContext;
@@ -506,6 +509,7 @@ read_ACES_file(CommandOptions& Options)
}
}
}
+#endif
ui32_t last_frame = Options.start_frame + (Options.duration ? Options.duration : frame_count);
if (last_frame > frame_count)
@@ -736,6 +740,7 @@ read_PCM_file(CommandOptions& Options)
}
}
+#ifdef HAVE_OPENSSL
if ( ASDCP_SUCCESS(result) && Options.key_flag )
{
Context = new AESDecContext;
@@ -757,6 +762,7 @@ read_PCM_file(CommandOptions& Options)
}
}
}
+#endif // HAVE_OPENSSL
for ( ui32_t i = Options.start_frame; ASDCP_SUCCESS(result) && i < last_frame; i++ )
{
@@ -898,6 +904,7 @@ read_isxd_file(CommandOptions& Options)
}
}
+#ifdef HAVE_OPENSSL
if ( ASDCP_SUCCESS(result) && Options.key_flag )
{
Context = new AESDecContext;
@@ -919,6 +926,7 @@ read_isxd_file(CommandOptions& Options)
}
}
}
+#endif // HAVE_OPENSSL
ui32_t last_frame = Options.start_frame + ( Options.duration ? Options.duration : frame_count);
if ( last_frame > frame_count )