]> granicus.if.org Git - p11-kit/commit
trust: Refactor to include concept of the index
authorStef Walter <stefw@gnome.org>
Tue, 12 Mar 2013 17:03:25 +0000 (18:03 +0100)
committerStef Walter <stefw@gnome.org>
Fri, 15 Mar 2013 16:54:55 +0000 (17:54 +0100)
commitff009f8a671e6ddd02a684bb1707a2a797fe4600
tree3f3d5162a64f0addb0ad2d1acba91eae46f8ef1e
parent3fc6365093ad07b2eb5ef859093c5c5eb56ee700
trust: Refactor to include concept of the index

 * The index holds PKCS#11 objects whether for the token or for the session.
 * The index provides hook for a builder to expand or validate objects
   being added to the index.
 * In addition theres a change hook so that a builder can maintain state
   between objects, such as the compat NSS trust objects.

https://bugs.freedesktop.org/show_bug.cgi?id=62329
14 files changed:
trust/Makefile.am
trust/index.c [new file with mode: 0644]
trust/index.h [new file with mode: 0644]
trust/module.c
trust/session.c
trust/session.h
trust/tests/Makefile.am
trust/tests/frob-token.c
trust/tests/test-index.c [new file with mode: 0644]
trust/tests/test-module.c
trust/tests/test-session.c [deleted file]
trust/tests/test-token.c
trust/token.c
trust/token.h