diff --git a/p11-kit/delete-profile.c b/p11-kit/delete-profile.c index dbce046d..72301ae4 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 the token URI")); goto cleanup; } diff --git a/p11-kit/list-profiles.c b/p11-kit/list-profiles.c index 91dfee12..5e63936c 100644 --- a/p11-kit/list-profiles.c +++ b/p11-kit/list-profiles.c @@ -77,7 +77,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 the token URI")); goto cleanup; }