Kaydet (Commit) ece10720 authored tarafından Miklos Vajna's avatar Miklos Vajna

xmlsecurity mscrypt: drop unused parameters in akmngr

Change-Id: I5e8b3e472caa058c4c8f10b423783d963a6ab1c0
Reviewed-on: https://gerrit.libreoffice.org/40465Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst d5c8f58a
...@@ -30,18 +30,12 @@ ...@@ -30,18 +30,12 @@
/** /**
* xmlSecMSCryptoAppliedKeysMngrCreate: * xmlSecMSCryptoAppliedKeysMngrCreate:
* @hKeyStore: the pointer to key store.
* @hCertStore: the pointer to certificate database.
* *
* Create and load key store and certificate database into keys manager * Create and load key store and certificate database into keys manager
* *
* Returns keys manager pointer on success or NULL otherwise. * Returns keys manager pointer on success or NULL otherwise.
*/ */
xmlSecKeysMngrPtr xmlSecKeysMngrPtr xmlSecMSCryptoAppliedKeysMngrCreate()
xmlSecMSCryptoAppliedKeysMngrCreate(
HCERTSTORE /*hKeyStore*/,
HCERTSTORE /*hCertStore*/
)
{ {
xmlSecKeysMngrPtr keyMngr = NULL ; xmlSecKeysMngrPtr keyMngr = NULL ;
xmlSecKeyStorePtr keyStore = NULL ; xmlSecKeyStorePtr keyStore = NULL ;
......
...@@ -26,11 +26,7 @@ ...@@ -26,11 +26,7 @@
#include <xmlsec/keys.h> #include <xmlsec/keys.h>
#include <xmlsec/transforms.h> #include <xmlsec/transforms.h>
xmlSecKeysMngrPtr xmlSecKeysMngrPtr xmlSecMSCryptoAppliedKeysMngrCreate();
xmlSecMSCryptoAppliedKeysMngrCreate(
HCERTSTORE keyStore,
HCERTSTORE certStore
) ;
int int
xmlSecMSCryptoAppliedKeysMngrAdoptKeyStore( xmlSecMSCryptoAppliedKeysMngrAdoptKeyStore(
......
...@@ -1043,7 +1043,7 @@ xmlSecKeysMngrPtr SecurityEnvironment_MSCryptImpl::createKeysManager() { ...@@ -1043,7 +1043,7 @@ xmlSecKeysMngrPtr SecurityEnvironment_MSCryptImpl::createKeysManager() {
/*- /*-
* The following lines is based on the of xmlsec-mscrypto crypto engine * The following lines is based on the of xmlsec-mscrypto crypto engine
*/ */
pKeysMngr = xmlSecMSCryptoAppliedKeysMngrCreate( m_hKeyStore , m_hCertStore ) ; pKeysMngr = xmlSecMSCryptoAppliedKeysMngrCreate() ;
if( pKeysMngr == nullptr ) if( pKeysMngr == nullptr )
throw RuntimeException() ; throw RuntimeException() ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment