summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/fixtures/system-modules/win32/one.module4
-rw-r--r--p11-kit/test-modules.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/p11-kit/fixtures/system-modules/win32/one.module b/p11-kit/fixtures/system-modules/win32/one.module
index d153ce5..129d983 100644
--- a/p11-kit/fixtures/system-modules/win32/one.module
+++ b/p11-kit/fixtures/system-modules/win32/one.module
@@ -1,4 +1,6 @@
module: mock-one.dll
setting: system1
-# no order, use name \ No newline at end of file
+trust-policy: yes
+number: 18
+# no order, use name
diff --git a/p11-kit/test-modules.c b/p11-kit/test-modules.c
index 4bdf11a..a2e1430 100644
--- a/p11-kit/test-modules.c
+++ b/p11-kit/test-modules.c
@@ -222,9 +222,7 @@ test_filename (void)
*/
modules = initialize_and_get_modules ();
-#ifndef _WIN32
- assert (lookup_module_with_filename (modules, "mock-four.so") != NULL);
-#endif
+ assert (lookup_module_with_filename (modules, "mock-four" SHLEXT) != NULL);
finalize_and_free_modules (modules);
}