diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-06-21 18:00:55 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-06-21 22:16:56 +0200 |
commit | ba53bd4e7234c771e6e655a492f0416807669027 (patch) | |
tree | 19c30c526611e36b907f4e389b9567ff2b76eb49 /xmlsecurity/source/gpg | |
parent | 4ddb2f716fa5501271bfb2d270a56562ddb5051d (diff) |
gpg4libre: make signature impl swappable in-situ during validation
Sadly we only know whether its a OpenPGP or X509 signature during
parsing, so we need to switch the implementation mid-way
Change-Id: Ib48a9da0105de62cfecda095df8c154b59ba8c40
Diffstat (limited to 'xmlsecurity/source/gpg')
-rw-r--r-- | xmlsecurity/source/gpg/SEInitializer.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmlsecurity/source/gpg/SEInitializer.cxx b/xmlsecurity/source/gpg/SEInitializer.cxx index 0e4cbd9d8cc8..919161d86554 100644 --- a/xmlsecurity/source/gpg/SEInitializer.cxx +++ b/xmlsecurity/source/gpg/SEInitializer.cxx @@ -20,10 +20,8 @@ using namespace css::uno; using namespace css::xml::crypto; -SEInitializerGpg::SEInitializerGpg( const css::uno::Reference< css::uno::XComponentContext > &rxContext ) +SEInitializerGpg::SEInitializerGpg() { - m_xContext = rxContext; - // Also init GpgME while we're at it GpgME::initializeLibrary(); } |