summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-04-10 09:47:19 +0200
committerDaiki Ueno <ueno@gnu.org>2018-04-10 17:57:11 +0200
commit5d97643884879d4967d21cb29c9917271a4b65db (patch)
tree6e5b711a3309ece2d9fbb3d0e4e8d96e10ff723d
parentaf71f7961370714112f258c0e404d96bdef9cee9 (diff)
trust: Prevent trust module being loaded by proxy module
Otherwise, when the proxy module were registerd in NSS database, the trust module would be loaded twice and degrade search performance.
-rw-r--r--trust/p11-kit-trust.module3
1 files changed, 3 insertions, 0 deletions
diff --git a/trust/p11-kit-trust.module b/trust/p11-kit-trust.module
index 2f53ef6..72122c3 100644
--- a/trust/p11-kit-trust.module
+++ b/trust/p11-kit-trust.module
@@ -15,3 +15,6 @@ trust-policy: yes
# projects used this non-standard attribute to denote slots to use to
# retrieve trust information.
x-trust-lookup: pkcs11:library-description=PKCS%2311%20Kit%20Trust%20Module
+
+# Prevent this module being loaded by the proxy module
+disable-in: p11-kit-proxy