gpg4libre: make signature impl swappable in-situ during validation

Desktop / LibreOffice - Thorsten Behrens [CIB.de] - 21 June 2017 16:16 EDT

Sadly we only know whether its a OpenPGP or X509 signature during parsing, so we need to switch the implementation mid-way

ba53bd4 gpg4libre: make signature impl swappable in-situ during validation
.../inc/framework/signatureverifierimpl.hxx | 3 +++
xmlsecurity/inc/gpg/SEInitializer.hxx | 5 +----
xmlsecurity/inc/xsecctl.hxx | 1 +
xmlsecurity/source/gpg/SEInitializer.cxx | 4 +---
.../source/helper/documentsignaturemanager.cxx | 2 +-
xmlsecurity/source/helper/xsecparser.cxx | 4 ++++
xmlsecurity/source/helper/xsecverify.cxx | 24 ++++++++++++++++++++++
7 files changed, 35 insertions(+), 8 deletions(-)

Upstream: cgit.freedesktop.org


  • Share