From 75e2cb73df51a2688ecd2f4b4e3b490ae7b9f5a7 Mon Sep 17 00:00:00 2001
From: Stef Walter <stef@thewalter.net>
Date: Thu, 4 Jul 2013 21:49:57 +0200
Subject: p11-kit: Add P11_KIT_MODULE_TRUSTED flag

A new flag to pass to p11_kit_modules_load() and related functions
which limits loaded modules to ones with "trust-policy: yes".
---
 p11-kit/tests/files/package-modules/four.module | 3 ++-
 p11-kit/tests/files/system-modules/one.module   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

(limited to 'p11-kit/tests/files')

diff --git a/p11-kit/tests/files/package-modules/four.module b/p11-kit/tests/files/package-modules/four.module
index 545c285..933af2b 100644
--- a/p11-kit/tests/files/package-modules/four.module
+++ b/p11-kit/tests/files/package-modules/four.module
@@ -1,4 +1,5 @@
 
 module: mock-four.so
 disable-in: test-disable, test-other
-priority: 4
\ No newline at end of file
+priority: 4
+trust-policy: no
\ No newline at end of file
diff --git a/p11-kit/tests/files/system-modules/one.module b/p11-kit/tests/files/system-modules/one.module
index 3620869..15cb7f2 100644
--- a/p11-kit/tests/files/system-modules/one.module
+++ b/p11-kit/tests/files/system-modules/one.module
@@ -1,3 +1,4 @@
 
 module: mock-one.so
-setting: system1
\ No newline at end of file
+setting: system1
+trust-policy: yes
\ No newline at end of file
-- 
cgit v1.1