diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-05-20 21:12:27 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-05-20 21:12:27 +0200 |
| commit | 87f5322a66ae176043adf9a9297e7e020ac1b5f4 (patch) | |
| tree | f3aa25872f04eae84bd8b6087b73ba74728ba054 | |
| parent | 3bc6a4ff1965c25f058f8d7a151c12a079b59f04 (diff) | |
Fix DKDM generation by moving the validity period a day inside the certificate validity.
| -rw-r--r-- | src/tools/dcpomatic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index 13569d11d..3168197d5 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -905,9 +905,9 @@ private: dcp::LocalTime from (Config::instance()->signer_chain()->leaf().not_before()); - from.add_minutes (1); + from.add_days (1); dcp::LocalTime to (Config::instance()->signer_chain()->leaf().not_after()); - to.add_minutes (-1); + to.add_days (-1); optional<dcp::EncryptedKDM> kdm; try { |
