diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-27 18:17:50 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-28 14:00:05 +0100 |
commit | 09d4fe3275d089e7200b67bacaf415ed9aa249c7 (patch) | |
tree | 3cbdd38823e776cda78499e2ed547054dbdf3fa4 | |
parent | f6ca10a6508456e543591191e0c05c82ac14e0d3 (diff) |
-Werror,-Wunused-function
Change-Id: I3a39ca3a653f16799be1c4cc598f3b9e127e0569
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/nssinitializer.cxx | 4 |
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 |