summaryrefslogtreecommitdiff
path: root/trust/token.c
diff options
context:
space:
mode:
Diffstat (limited to 'trust/token.c')
-rw-r--r--trust/token.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/token.c b/trust/token.c
index 22363f8..8670ff4 100644
--- a/trust/token.c
+++ b/trust/token.c
@@ -673,7 +673,7 @@ on_index_store (void *data,
for (i = 0; rv == CKR_OK && other && other[i] != 0; i++) {
if (other[i] != handle) {
- object = p11_index_lookup (index, handle);
+ object = p11_index_lookup (index, other[i]);
if (object != NULL)
rv = writer_put_object (file, persist, &buffer, object);
}