From a6a1294944d4ce02cbb429ca1aec07ca78d79a88 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 27 May 2021 14:21:35 +0200 Subject: 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). --- src/verify.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/verify.h') 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) -- cgit v1.2.3