diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-12-21 17:33:16 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-12-21 17:35:24 +0200 |
commit | efe9d1df691350fe0253f20daf84d082f94f59cb (patch) | |
tree | a33e664d7f0ff2bc5836b1f57ad7572afcfd8db1 /xmlsecurity | |
parent | 6aca7389c63a39387fc08acfb824ba96037f5662 (diff) |
Don't add empty TODO functions to libxmlsec, and don't call them
Change-Id: Iaec1de29a0e7f3ea8eb10869382401d121de2c8a
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx index 47435d7cc89e..9da152044fbf 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx @@ -1120,9 +1120,6 @@ OUString SecurityEnvironment_MSCryptImpl::getSecurityEnvironmentInformation() th xmlSecKeysMngrPtr SecurityEnvironment_MSCryptImpl::createKeysManager() throw( Exception, RuntimeException ) { - unsigned int i ; - HCRYPTKEY symKey ; - HCRYPTKEY pubKey ; xmlSecKeysMngrPtr pKeysMngr = nullptr ; /*- @@ -1133,24 +1130,6 @@ xmlSecKeysMngrPtr SecurityEnvironment_MSCryptImpl::createKeysManager() throw( Ex throw RuntimeException() ; /*- - * Adopt symmetric key into keys manager - */ - for( i = 0 ; ( symKey = getSymKey( i ) ) != NULL ; i ++ ) { - if( xmlSecMSCryptoAppliedKeysMngrSymKeyLoad( pKeysMngr, symKey ) < 0 ) { - throw RuntimeException() ; - } - } - - /*- - * Adopt asymmetric public key into keys manager - */ - for( i = 0 ; ( pubKey = getPubKey( i ) ) != NULL ; i ++ ) { - if( xmlSecMSCryptoAppliedKeysMngrPubKeyLoad( pKeysMngr, pubKey ) < 0 ) { - throw RuntimeException() ; - } - } - - /*- * Adopt system default certificate store. */ if( defaultEnabled() ) { |