diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-12-21 19:49:10 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-12-21 21:24:09 +0200 |
commit | e1ce7bad62f07faf8f21adac6c3848d142f61953 (patch) | |
tree | 309bd2c4b5a5e03abad2ede2cbfe37910d624bdc /ucb | |
parent | 0f00751af858da91d379208b8b679002a180ff93 (diff) |
[API CHANGE] createSecurityContext() was always called with an empty string
So drop the parameter then and propagate fallout in the Windows
implementation in xmlsecurity. The NSS implementation already ignored
the parameter completely.
This interface is not 'published' and the parameter was even marked as
'reserved for internal use' so I doubt any external code has used it.
Change-Id: I5915b941b79cfddadc8137c32ed07c20c9ccaa37
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/cmis/certvalidation_handler.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav/SerfSession.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/cmis/certvalidation_handler.cxx b/ucb/source/ucp/cmis/certvalidation_handler.cxx index f13c75bc6924..cf2993ccca7f 100644 --- a/ucb/source/ucp/cmis/certvalidation_handler.cxx +++ b/ucb/source/ucp/cmis/certvalidation_handler.cxx @@ -46,7 +46,7 @@ namespace cmis if ( xSEInitializer.is() ) { uno::Reference< xml::crypto::XXMLSecurityContext > xSecurityContext( - xSEInitializer->createSecurityContext( OUString() ) ); + xSEInitializer->createSecurityContext() ); uno::Reference< xml::crypto::XSecurityEnvironment > xSecurityEnv( xSecurityContext->getSecurityEnvironment() ); diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index d614a79d3930..f2570c713dbc 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.cxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -398,7 +398,7 @@ extern "C" int NeonSession_CertificationNotify( void *userdata, return 1; uno::Reference< xml::crypto::XXMLSecurityContext > xSecurityContext( - xSEInitializer->createSecurityContext( OUString() ) ); + xSEInitializer->createSecurityContext() ); uno::Reference< xml::crypto::XSecurityEnvironment > xSecurityEnv( xSecurityContext->getSecurityEnvironment() ); diff --git a/ucb/source/ucp/webdav/SerfSession.cxx b/ucb/source/ucp/webdav/SerfSession.cxx index 40c8ffe9fb26..6ee053f209ae 100644 --- a/ucb/source/ucp/webdav/SerfSession.cxx +++ b/ucb/source/ucp/webdav/SerfSession.cxx @@ -373,7 +373,7 @@ apr_status_t SerfSession::verifySerfCertificateChain ( css::uno::Reference< css::xml::crypto::XSEInitializer > xSEInitializer = css::xml::crypto::SEInitializer::create( xContext ); - xSecurityContext = xSEInitializer->createSecurityContext( OUString() ); + xSecurityContext = xSEInitializer->createSecurityContext(); if (xSecurityContext.is()) xSecurityEnv = xSecurityContext->getSecurityEnvironment(); |