diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-26 17:55:02 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-26 20:09:38 +0200 |
commit | b6f98b71155d3c7af70bfc623cfaa7da0fbb905f (patch) | |
tree | 40e273ce908bd8d93bd4e5c67587e45ba50152db /xmlsecurity/inc | |
parent | fc56d31c094f1e01adc5eca69b414e984c7e4baf (diff) |
xmlsecurity PDF verify: support SHA-256
And various other minor fixes.
Change-Id: Ifcccebf48aac8ad526406f2d7a402a840d3c91cd
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r-- | xmlsecurity/inc/pdfio/pdfdocument.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlsecurity/inc/pdfio/pdfdocument.hxx b/xmlsecurity/inc/pdfio/pdfdocument.hxx index f42350ac5a20..8ef7afdf2c66 100644 --- a/xmlsecurity/inc/pdfio/pdfdocument.hxx +++ b/xmlsecurity/inc/pdfio/pdfdocument.hxx @@ -75,6 +75,8 @@ public: static size_t FindStartXRef(SvStream& rStream); void ReadXRef(SvStream& rStream); static void SkipWhitespace(SvStream& rStream); + /// Instead of all whitespace, just skip CR and NL characters. + static void SkipLineBreaks(SvStream& rStream); size_t GetObjectOffset(size_t nIndex) const; const std::vector< std::unique_ptr<PDFElement> >& GetElements(); std::vector<PDFObjectElement*> GetPages(); |