summaryrefslogtreecommitdiff
path: root/trust/token.c
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2013-08-28 09:45:21 +0200
committerStef Walter <stef@thewalter.net>2013-08-29 10:29:53 +0200
commit570403f3421b222167196d380c60eb8430eb4cd7 (patch)
tree5cd1351db179dfee24f0c586038fb13e7839414c /trust/token.c
parent58466648aa84ea10c20213d4665c5c93dbf285e9 (diff)
trust: Add index callback for when an object is removed
This allows a token to remove the file if desired
Diffstat (limited to 'trust/token.c')
-rw-r--r--trust/token.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/trust/token.c b/trust/token.c
index cfcdba6..427c1d5 100644
--- a/trust/token.c
+++ b/trust/token.c
@@ -742,6 +742,7 @@ p11_token_new (CK_SLOT_ID slot,
token->index = p11_index_new (on_index_build,
on_index_store,
+ NULL,
on_index_notify,
token);
return_val_if_fail (token->index != NULL, NULL);