From 7bb9ad33da0154c9a4317f0123046eee85738349 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 28 Jun 2013 13:00:02 +0200 Subject: iter: Add iteration mode where session is not busy In order to use the session we are iterating on for other tasks such as other C_FindObject() calls, we need to make sure that it's not in the middle of a find operation. Finish up the complete find operation in advance of returning objects from a session. Make this the default mode. The previous behavior remains as an option. Add tests. --- trust/tests/test-openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trust/tests/test-openssl.c') 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); -- cgit v1.1