diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-23 10:51:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-12-23 10:51:53 +0100 |
| commit | 83cfa7b0bb8df67457a22c00b361431e7be51aa7 (patch) | |
| tree | b8c3dc1f7eda99e8aebb7b80f11fef3a0e200c18 | |
| parent | 67860add14ebf13c0fea0c8fb00f60d3335cb363 (diff) | |
Fix Windows build.
| -rw-r--r-- | src/lib/util.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index f75f943f9..a515437a4 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -483,7 +483,11 @@ LIBDCP_ENABLE_WARNINGS render_text (subs, dcp::Size(640, 480), DCPTime(), 24); #endif +#ifdef DCPOMATIC_WINDOWS + putenv("OPENSSL_ENABLE_SHA1_SIGNATURES=1"); +#else setenv("OPENSSL_ENABLE_SHA1_SIGNATURES", "1", 1); +#endif Ratio::setup_ratios (); PresetColourConversion::setup_colour_conversion_presets (); |
