summaryrefslogtreecommitdiff
path: root/trust/tests
diff options
context:
space:
mode:
Diffstat (limited to 'trust/tests')
-rw-r--r--trust/tests/frob-nss-trust.c6
-rw-r--r--trust/tests/test-bundle.c2
-rw-r--r--trust/tests/test-cer.c2
-rw-r--r--trust/tests/test-extract.c2
-rw-r--r--trust/tests/test-openssl.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/trust/tests/frob-nss-trust.c b/trust/tests/frob-nss-trust.c
index a81b5e2..fd74db7 100644
--- a/trust/tests/frob-nss-trust.c
+++ b/trust/tests/frob-nss-trust.c
@@ -108,7 +108,7 @@ dump_trust_module (const char *path)
rv = p11_kit_module_initialize (module);
return_val_if_fail (rv == CKR_OK, 1);
- iter = p11_kit_iter_new (NULL);
+ iter = p11_kit_iter_new (NULL, 0);
p11_kit_iter_add_filter (iter, &match, 1);
p11_kit_iter_begin_with (iter, module, 0, 0);
@@ -168,7 +168,7 @@ compare_trust_modules (const char *path1,
rv = p11_kit_module_initialize (module2);
return_val_if_fail (rv == CKR_OK, 1);
- iter = p11_kit_iter_new (NULL);
+ iter = p11_kit_iter_new (NULL, 0);
p11_kit_iter_add_filter (iter, &match, 1);
p11_kit_iter_begin_with (iter, module1, 0, 0);
@@ -182,7 +182,7 @@ compare_trust_modules (const char *path1,
p11_attrs_purge (check);
/* Check that this object exists */
- iter2 = p11_kit_iter_new (NULL);
+ iter2 = p11_kit_iter_new (NULL, 0);
p11_kit_iter_add_filter (iter2, check, p11_attrs_count (check));
p11_kit_iter_begin_with (iter2, module2, 0, 0);
rv = p11_kit_iter_next (iter2);
diff --git a/trust/tests/test-bundle.c b/trust/tests/test-bundle.c
index bff135e..10f89d2 100644
--- a/trust/tests/test-bundle.c
+++ b/trust/tests/test-bundle.c
@@ -74,7 +74,7 @@ setup (void *unused)
rv = test.module.C_Initialize (NULL);
assert_num_eq (CKR_OK, rv);
- test.iter = p11_kit_iter_new (NULL);
+ test.iter = p11_kit_iter_new (NULL, 0);
p11_extract_info_init (&test.ex);
diff --git a/trust/tests/test-cer.c b/trust/tests/test-cer.c
index c48a5ab..fc4d007 100644
--- a/trust/tests/test-cer.c
+++ b/trust/tests/test-cer.c
@@ -74,7 +74,7 @@ setup (void *unused)
rv = test.module.C_Initialize (NULL);
assert_num_eq (CKR_OK, rv);
- test.iter = p11_kit_iter_new (NULL);
+ test.iter = p11_kit_iter_new (NULL, 0);
p11_extract_info_init (&test.ex);
diff --git a/trust/tests/test-extract.c b/trust/tests/test-extract.c
index e860996..b121b21 100644
--- a/trust/tests/test-extract.c
+++ b/trust/tests/test-extract.c
@@ -154,7 +154,7 @@ setup (void *unused)
rv = test.module.C_Initialize (NULL);
assert_num_eq (CKR_OK, rv);
- test.iter = p11_kit_iter_new (NULL);
+ test.iter = p11_kit_iter_new (NULL, 0);
p11_extract_info_init (&test.ex);
}
diff --git a/trust/tests/test-openssl.c b/trust/tests/test-openssl.c
index 7479812..93f8692 100644
--- a/trust/tests/test-openssl.c
+++ b/trust/tests/test-openssl.c
@@ -78,7 +78,7 @@ setup (void *unused)
rv = test.module.C_Initialize (NULL);
assert_num_eq (CKR_OK, rv);
- test.iter = p11_kit_iter_new (NULL);
+ test.iter = p11_kit_iter_new (NULL, 0);
p11_extract_info_init (&test.ex);