diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-05-07 22:28:37 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-05-07 22:28:37 +0200 |
| commit | 9f2c654b8922f28b870eed5ddb8df530984dccbe (patch) | |
| tree | 4d162e2ab6210d6040e68268214ad951ae584888 /src/verify.cc | |
| parent | be71939e858b00d42239a608d9f97918d4d014f6 (diff) | |
Test hack.
Diffstat (limited to 'src/verify.cc')
| -rw-r--r-- | src/verify.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/verify.cc b/src/verify.cc index b10f25c1..367a0f49 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -297,6 +297,13 @@ validate_xml (boost::filesystem::path xml_file, boost::filesystem::path xsd_dtd_ } +void +verify_signer (shared_ptr<CPL> cpl, list<VerificationNote>& notes) +{ + +} + + enum VerifyAssetResult { VERIFY_ASSET_RESULT_GOOD, VERIFY_ASSET_RESULT_CPL_PKL_DIFFER, @@ -432,6 +439,7 @@ dcp::verify ( BOOST_FOREACH (shared_ptr<CPL> cpl, dcp->cpls()) { stage ("Checking CPL", cpl->file()); validate_xml (cpl->file().get(), xsd_dtd_directory, notes); + verify_signer (cpl); /* Check that the CPL's hash corresponds to the PKL */ BOOST_FOREACH (shared_ptr<PKL> i, dcp->pkls()) { |
