summaryrefslogtreecommitdiff
path: root/trust/tests/frob-token.c
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-03-19 19:03:12 +0100
committerStef Walter <stefw@gnome.org>2013-03-19 19:16:30 +0100
commit80303340701c2cba78937193084f3d716b883b55 (patch)
treede4b51e53827a1ec300913a00a6c1121eb06db7a /trust/tests/frob-token.c
parent832015f1fd91a9e94478514d7fe9b21e050f121a (diff)
trust: Use descriptive labels for tokens
Try to determine which one is the system trust input token, and which one is the default token by using datadir and sysconfdir respectively. https://bugs.freedesktop.org/show_bug.cgi?id=62534
Diffstat (limited to 'trust/tests/frob-token.c')
-rw-r--r--trust/tests/frob-token.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/tests/frob-token.c b/trust/tests/frob-token.c
index 622dad4..5d57ec1 100644
--- a/trust/tests/frob-token.c
+++ b/trust/tests/frob-token.c
@@ -52,7 +52,7 @@ main (int argc,
return 2;
}
- token = p11_token_new (1, argv[1]);
+ token = p11_token_new (1, argv[1], "Label");
count = p11_token_load (token);
printf ("%d files loaded\n", count);