diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-09 01:12:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-16 01:40:36 +0100 |
| commit | 6ebae1c7fd0f1449f95719c69c871cb87f8832bf (patch) | |
| tree | 4feca0997996317c79e4e16a92574144fb3394d8 | |
| parent | 126ba9aada95a3dc103d6babce396e5251640d82 (diff) | |
Fix unnecessary condition.
| -rw-r--r-- | src/lib/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 0a060e960..90d78b32e 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -1247,7 +1247,7 @@ decrypt_kdm_with_helpful_error (dcp::EncryptedKDM kdm) } if (!on_chain) { throw KDMError (_("This KDM was not made for DCP-o-matic's decryption certificate."), e.what()); - } else if (on_chain && kdm_subject_name != dc->leaf().subject()) { + } else if (kdm_subject_name != dc->leaf().subject()) { throw KDMError (_("This KDM was made for DCP-o-matic but not for its leaf certificate."), e.what()); } else { throw; |
