diff --git a/p11-kit/delete-profile.c b/p11-kit/delete-profile.c index edc600f1..9e06b31d 100644 --- a/p11-kit/delete-profile.c +++ b/p11-kit/delete-profile.c @@ -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; } diff --git a/p11-kit/list-profiles.c b/p11-kit/list-profiles.c index 342aa3ca..3f8ee4fc 100644 --- a/p11-kit/list-profiles.c +++ b/p11-kit/list-profiles.c @@ -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; }