summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-11-25 15:01:49 +0200
committerTor Lillqvist <tml@collabora.com>2016-11-25 15:02:45 +0200
commit0ddcff205399692cadf46c26bfe3a52165762a32 (patch)
treede47482b6ed54a93ddfc36f7b3f5b5a6f64d532c /xmlsecurity
parentca48cb1dfa212128e0987897a69edc1980ebca90 (diff)
No need for this local function to be externally visible
Change-Id: Idb2e716cdc4933c2691de2df21a4ee7afda9e597
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
index 955f0bbaf7f4..2ae6251abda5 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
@@ -57,7 +57,7 @@ using ::com::sun::star::lang::XSingleServiceFactory ;
using ::com::sun::star::xml::crypto::XSecurityEnvironment ;
using ::com::sun::star::security::XCertificate ;
-extern X509Certificate_MSCryptImpl* MswcryCertContextToXCert( PCCERT_CONTEXT cert ) ;
+static X509Certificate_MSCryptImpl* MswcryCertContextToXCert( PCCERT_CONTEXT cert ) ;
struct CertErrorToString{
DWORD error;
@@ -1127,7 +1127,7 @@ bool SecurityEnvironment_MSCryptImpl::defaultEnabled() throw( Exception, Runtime
return m_bEnableDefault ;
}
-X509Certificate_MSCryptImpl* MswcryCertContextToXCert( PCCERT_CONTEXT cert )
+static X509Certificate_MSCryptImpl* MswcryCertContextToXCert( PCCERT_CONTEXT cert )
{
X509Certificate_MSCryptImpl* xcert ;