diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-27 14:21:35 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-27 14:25:17 +0200 |
| commit | a6a1294944d4ce02cbb429ca1aec07ca78d79a88 (patch) | |
| tree | 0122b12b7488a7471a0764a3f1e857c0cc3584b8 /src/verify.h | |
| parent | 8c27355abdac31c38c2fd5f41e36097dd5360422 (diff) | |
Tidy handling of _raw_xml.
Before this if we tried to get the XML of an encrypted asset we
would just get an empty string. Now we get a boost::none which
means the verifier can avoid trying to check details of the XML
(and instead raise a warning that you are trying to verify data
that it cannot decrypt).
Diffstat (limited to 'src/verify.h')
| -rw-r--r-- | src/verify.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/verify.h b/src/verify.h index 372da764..c0491422 100644 --- a/src/verify.h +++ b/src/verify.h @@ -379,6 +379,8 @@ public: * file contains the asset filename */ MISMATCHED_TIMED_TEXT_DURATION, + /** Something could not be verified because content is encrypted and no key is available */ + MISSED_CHECK_OF_ENCRYPTED, }; VerificationNote (Type type, Code code) |
