summaryrefslogtreecommitdiff
path: root/trust/tests/frob-token.c
diff options
context:
space:
mode:
Diffstat (limited to 'trust/tests/frob-token.c')
-rw-r--r--trust/tests/frob-token.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/trust/tests/frob-token.c b/trust/tests/frob-token.c
index 976fb2b..622dad4 100644
--- a/trust/tests/frob-token.c
+++ b/trust/tests/frob-token.c
@@ -44,7 +44,7 @@ main (int argc,
char *argv[])
{
p11_token *token;
- p11_dict *objects;
+ p11_index *index;
int count;
if (argc != 2) {
@@ -56,8 +56,8 @@ main (int argc,
count = p11_token_load (token);
printf ("%d files loaded\n", count);
- objects = p11_token_objects (token);
- printf ("%d objects loaded\n", p11_dict_size (objects));
+ index = p11_token_index (token);
+ printf ("%d objects loaded\n", p11_index_size (index));
p11_token_free (token);
return 0;