Warn if the signing certificates have a validity period > 10 years (#2174).
[dcpomatic.git] / src / lib / util.h
index 10c5678ffd37f72c4b0e37c0d450f18ad950efa3..cbf4b491b8f31acdf6ebc243eb7696d132128222 100644 (file)
@@ -78,6 +78,7 @@ namespace dcp {
 /** Maximum size of the XML part of a closed caption file, according to SMPTE Bv2.1 */
 #define MAX_CLOSED_CAPTION_XML_SIZE (256 * 1024)
 #define MAX_CLOSED_CAPTION_XML_SIZE_TEXT "256KB"
+#define CERTIFICATE_VALIDITY_PERIOD (10 * 365)
 
 extern std::string program_name;
 extern bool is_batch_converter;