diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2021-10-06 18:35:29 +0200 |
---|---|---|
committer | Corentin Noël <tintou@noel.tf> | 2022-04-09 00:44:24 +0200 |
commit | c2df7447154f5e633432a1c192ddd162055e3958 (patch) | |
tree | a546bca01a3700fbc36d5fd4ccca6b0ddc543952 /gcr | |
parent | e2e3c17ef45347d91dfc66bc1c5c451af0774d8e (diff) | |
download | gcr-c2df7447154f5e633432a1c192ddd162055e3958.tar.gz |
gck: use the right namespace for GckUriData methods
Diffstat (limited to 'gcr')
-rw-r--r-- | gcr/gcr-pkcs11-importer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcr/gcr-pkcs11-importer.c b/gcr/gcr-pkcs11-importer.c index b2aa9ae..b686742 100644 --- a/gcr/gcr-pkcs11-importer.c +++ b/gcr/gcr-pkcs11-importer.c @@ -628,7 +628,7 @@ calculate_uri (GcrPkcs11Importer *self) data = gck_uri_data_new (); data->token_info = gck_slot_get_token_info (self->slot); - uri = gck_uri_build (data, GCK_URI_FOR_TOKEN); + uri = gck_uri_data_build (data, GCK_URI_FOR_TOKEN); data->token_info = NULL; gck_uri_data_free (data); @@ -754,7 +754,7 @@ is_slot_importable (GckSlot *slot, } for (i = 0; token_blacklist[i] != NULL; i++) { - uri = gck_uri_parse (token_blacklist[i], GCK_URI_FOR_TOKEN | GCK_URI_FOR_MODULE, &error); + uri = gck_uri_data_parse (token_blacklist[i], GCK_URI_FOR_TOKEN | GCK_URI_FOR_MODULE, &error); if (uri == NULL) { g_warning ("couldn't parse pkcs11 blacklist uri: %s", error->message); g_clear_error (&error); |