diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-03-10 17:10:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-03-10 17:10:56 +0100 |
| commit | b24fe6cc8a1e9a980bfd3f6df8476dfa86c3b3a2 (patch) | |
| tree | 75382300e00366ef785ffa244cfddcedd796b8e1 /src | |
| parent | c0514dd6ec5bd0a0fcfc01f4f67e83fb3fdac4c4 (diff) | |
Make DKDMs with validity 2 minutes shorter than the signer certificate
validity (#1728).
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index 47851a218..ea3cfbe32 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -879,10 +879,10 @@ private: ); - dcp::LocalTime from (Config::instance()->decryption_chain()->leaf().not_before()); - from.add_months (1); - dcp::LocalTime to (Config::instance()->decryption_chain()->leaf().not_after()); - to.add_months (-1); + dcp::LocalTime from (Config::instance()->signer_chain()->leaf().not_before()); + from.add_minutes (1); + dcp::LocalTime to (Config::instance()->signer_chain()->leaf().not_after()); + to.add_minutes (-1); optional<dcp::EncryptedKDM> kdm; try { |
