Tidy handling of _raw_xml.
authorCarl Hetherington <cth@carlh.net>
Thu, 27 May 2021 12:21:35 +0000 (14:21 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 27 May 2021 12:25:17 +0000 (14:25 +0200)
commita6a1294944d4ce02cbb429ca1aec07ca78d79a88
tree0122b12b7488a7471a0764a3f1e857c0cc3584b8
parent8c27355abdac31c38c2fd5f41e36097dd5360422
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/interop_subtitle_asset.cc
src/smpte_subtitle_asset.cc
src/subtitle_asset.h
src/verify.cc
src/verify.h