diff options
author | Stef Walter <stef@thewalter.net> | 2013-06-28 13:00:02 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2013-07-03 10:29:24 +0200 |
commit | 7bb9ad33da0154c9a4317f0123046eee85738349 (patch) | |
tree | a765e4aa3f7ccfe4151eaeb4b9b334847ce97d62 /trust/extract.c | |
parent | 7eabbee227f09cc4ff9e472520f03bba1e35596b (diff) |
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.
Diffstat (limited to 'trust/extract.c')
-rw-r--r-- | trust/extract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/extract.c b/trust/extract.c index 10f45df..d5ceb13 100644 --- a/trust/extract.c +++ b/trust/extract.c @@ -440,7 +440,7 @@ p11_trust_extract (int argc, limit_modules_if_necessary (modules, ex.flags); - iter = p11_kit_iter_new (uri); + iter = p11_kit_iter_new (uri, 0); p11_kit_iter_add_callback (iter, p11_extract_info_load_filter, &ex, NULL); p11_kit_iter_add_filter (iter, match, p11_attrs_count (match)); |