Kaydet (Commit) 9ea64f95 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

related: gpg4libre: Init xmlsec in one place before creating the services

Last holdout for separate xmlSec init removed, cf.
ed92db7a

Change-Id: I46a05074706bba77ebc488f0df296e35e2b7d553
üst 22b611f5
......@@ -38,29 +38,10 @@ XMLSecurityContext_MSCryptImpl::XMLSecurityContext_MSCryptImpl()
://m_pKeysMngr( NULL ) ,
m_xSecurityEnvironment( nullptr )
{
//Init xmlsec library
if( xmlSecInit() < 0 ) {
throw RuntimeException() ;
}
//Init xmlsec crypto engine library
if( xmlSecCryptoInit() < 0 ) {
xmlSecShutdown() ;
throw RuntimeException() ;
}
//Enable external stream handlers
if( xmlEnableStreamInputCallbacks() < 0 ) {
xmlSecCryptoShutdown() ;
xmlSecShutdown() ;
throw RuntimeException() ;
}
}
XMLSecurityContext_MSCryptImpl::~XMLSecurityContext_MSCryptImpl() {
xmlDisableStreamInputCallbacks() ;
xmlSecCryptoShutdown() ;
xmlSecShutdown() ;
XMLSecurityContext_MSCryptImpl::~XMLSecurityContext_MSCryptImpl()
{
}
sal_Int32 SAL_CALL XMLSecurityContext_MSCryptImpl::addSecurityEnvironment(
......
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