]> granicus.if.org Git - p11-kit/commit
iter: Add iteration mode where session is not busy
authorStef Walter <stef@thewalter.net>
Fri, 28 Jun 2013 11:00:02 +0000 (13:00 +0200)
committerStef Walter <stef@thewalter.net>
Wed, 3 Jul 2013 08:29:24 +0000 (10:29 +0200)
commit7bb9ad33da0154c9a4317f0123046eee85738349
treea765e4aa3f7ccfe4151eaeb4b9b334847ce97d62
parent7eabbee227f09cc4ff9e472520f03bba1e35596b
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.
p11-kit/iter.c
p11-kit/iter.h
p11-kit/tests/test-iter.c
trust/extract-info.c
trust/extract.c
trust/tests/frob-nss-trust.c
trust/tests/test-bundle.c
trust/tests/test-cer.c
trust/tests/test-extract.c
trust/tests/test-openssl.c