Skip to content

Commit

Permalink
Use only token URI as profiles arent storage objects
Browse files Browse the repository at this point in the history
Signed-off-by: Zoltan Fridrich <[email protected]>
  • Loading branch information
ZoltanFridrich committed Sep 21, 2023
1 parent 42e93d7 commit 231878d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion p11-kit/delete-profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ delete_profile (const char *token_str,
goto cleanup;
}

if (p11_kit_uri_parse (token_str, P11_KIT_URI_FOR_OBJECT_ON_TOKEN, uri) != P11_KIT_URI_OK) {
if (p11_kit_uri_parse (token_str, P11_KIT_URI_FOR_TOKEN, uri) != P11_KIT_URI_OK) {
p11_message (_("failed to parse URI"));
goto cleanup;
}
Expand Down
2 changes: 1 addition & 1 deletion p11-kit/list-profiles.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ list_profiles (const char *token_str)
goto cleanup;
}

if (p11_kit_uri_parse (token_str, P11_KIT_URI_FOR_OBJECT_ON_TOKEN, uri) != P11_KIT_URI_OK) {
if (p11_kit_uri_parse (token_str, P11_KIT_URI_FOR_TOKEN, uri) != P11_KIT_URI_OK) {
p11_message (_("failed to parse URI"));
goto cleanup;
}
Expand Down

0 comments on commit 231878d

Please sign in to comment.