[Libreoffice-commits] core.git: xmlsecurity/source

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Mon Mar 27 07:15:55 UTC 2017


 xmlsecurity/source/helper/documentsignaturemanager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1bf940eb2bb6b937b2175875bfebca46cca98d45
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Fri Mar 24 15:02:53 2017 +0000

    gpg4libre: One service should be enough for the dialog to work
    
    Change-Id: I2279c39e4dddec94cb061fe9bcad06804a6d35c9
    Reviewed-on: https://gerrit.libreoffice.org/35664
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/xmlsecurity/source/helper/documentsignaturemanager.cxx b/xmlsecurity/source/helper/documentsignaturemanager.cxx
index 7a7e10c3dc31..fb9fbf429cd2 100644
--- a/xmlsecurity/source/helper/documentsignaturemanager.cxx
+++ b/xmlsecurity/source/helper/documentsignaturemanager.cxx
@@ -66,7 +66,7 @@ bool DocumentSignatureManager::init()
     if (mxGpgSEInitializer.is())
         mxGpgSecurityContext = mxGpgSEInitializer->createSecurityContext(OUString());
 
-    return mxSecurityContext.is() && mxGpgSecurityContext.is();
+    return mxSecurityContext.is() || mxGpgSecurityContext.is();
 #else
     return mxSecurityContext.is();
 #endif


More information about the Libreoffice-commits mailing list