summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-07-26 22:54:35 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-07-27 08:07:34 +0200
commitece1072049fba0c7f77391da7775c7cf3f4725ea (patch)
treed230a94b2db4374f39a23f01e4c615142820131d /xmlsecurity
parentd5c8f58aa4485ed26827b69b94a195c78aaab6db (diff)
xmlsecurity mscrypt: drop unused parameters in akmngr
Change-Id: I5e8b3e472caa058c4c8f10b423783d963a6ab1c0 Reviewed-on: https://gerrit.libreoffice.org/40465 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx8
-rw-r--r--xmlsecurity/source/xmlsec/mscrypt/akmngr.hxx6
-rw-r--r--xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx2
3 files changed, 3 insertions, 13 deletions
diff --git a/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx b/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx
index e139241da8de..38f37afdb538 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx
@@ -30,18 +30,12 @@
/**
* xmlSecMSCryptoAppliedKeysMngrCreate:
- * @hKeyStore: the pointer to key store.
- * @hCertStore: the pointer to certificate database.
*
* Create and load key store and certificate database into keys manager
*
* Returns keys manager pointer on success or NULL otherwise.
*/
-xmlSecKeysMngrPtr
-xmlSecMSCryptoAppliedKeysMngrCreate(
- HCERTSTORE /*hKeyStore*/,
- HCERTSTORE /*hCertStore*/
-)
+xmlSecKeysMngrPtr xmlSecMSCryptoAppliedKeysMngrCreate()
{
xmlSecKeysMngrPtr keyMngr = NULL ;
xmlSecKeyStorePtr keyStore = NULL ;
diff --git a/xmlsecurity/source/xmlsec/mscrypt/akmngr.hxx b/xmlsecurity/source/xmlsec/mscrypt/akmngr.hxx
index 5f7b1a023ba7..174c127d3ad8 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/akmngr.hxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/akmngr.hxx
@@ -26,11 +26,7 @@
#include <xmlsec/keys.h>
#include <xmlsec/transforms.h>
-xmlSecKeysMngrPtr
-xmlSecMSCryptoAppliedKeysMngrCreate(
- HCERTSTORE keyStore,
- HCERTSTORE certStore
-) ;
+xmlSecKeysMngrPtr xmlSecMSCryptoAppliedKeysMngrCreate();
int
xmlSecMSCryptoAppliedKeysMngrAdoptKeyStore(
diff --git a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
index 7a202de19962..93296b1b4221 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
@@ -1043,7 +1043,7 @@ xmlSecKeysMngrPtr SecurityEnvironment_MSCryptImpl::createKeysManager() {
/*-
* The following lines is based on the of xmlsec-mscrypto crypto engine
*/
- pKeysMngr = xmlSecMSCryptoAppliedKeysMngrCreate( m_hKeyStore , m_hCertStore ) ;
+ pKeysMngr = xmlSecMSCryptoAppliedKeysMngrCreate() ;
if( pKeysMngr == nullptr )
throw RuntimeException() ;