summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-27 18:17:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-28 14:00:05 +0100
commit09d4fe3275d089e7200b67bacaf415ed9aa249c7 (patch)
tree3cbdd38823e776cda78499e2ed547054dbdf3fa4 /xmlsecurity
parentf6ca10a6508456e543591191e0c05c82ac14e0d3 (diff)
-Werror,-Wunused-function
Change-Id: I3a39ca3a653f16799be1c4cc598f3b9e127e0569
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/nss/nssinitializer.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
index b7276688f034..2ddcb83fae5d 100644
--- a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
+++ b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
@@ -104,6 +104,8 @@ struct GetNSSInitStaticMutex
}
};
+#ifdef XMLSEC_CRYPTO_NSS
+
void deleteRootsModule()
{
SECMODModule *RootsModule = nullptr;
@@ -217,6 +219,8 @@ OString getMozillaCurrentProfile( const css::uno::Reference< css::uno::XComponen
return OString();
}
+#endif
+
//Older versions of Firefox (FF), for example FF2, and Thunderbird (TB) 2 write
//the roots certificate module (libnssckbi.so), which they use, into the
//profile. This module will then already be loaded during NSS_Init (and the