summaryrefslogtreecommitdiff
path: root/gcr
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2021-10-05 10:50:28 +0200
committerCorentin Noël <tintou@noel.tf>2022-04-09 00:44:24 +0200
commite2e3c17ef45347d91dfc66bc1c5c451af0774d8e (patch)
treea577242067521217db094e7ae4579241a8d13f89 /gcr
parent0e13d95ff4c8a336dc91205875b1f3090b2dde06 (diff)
downloadgcr-e2e3c17ef45347d91dfc66bc1c5c451af0774d8e.tar.gz
gck: Remove authenticate_slot/object from GckModule
Also remove the compatibility test and objects.
Diffstat (limited to 'gcr')
-rw-r--r--gcr/gcr-trust.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcr/gcr-trust.c b/gcr/gcr-trust.c
index 786ab4f..16e1d87 100644
--- a/gcr/gcr-trust.c
+++ b/gcr/gcr-trust.c
@@ -307,7 +307,7 @@ perform_add_pinned_certificate (GckAttributes *search,
_("Couldn’t find a place to store the pinned certificate"));
ret = FALSE;
} else {
- session = gck_slot_open_session (slot, CKF_RW_SESSION, NULL, &lerr);
+ session = gck_slot_open_session (slot, CKF_RW_SESSION, NULL, NULL, &lerr);
if (session != NULL) {
object = gck_session_create_object (session, gck_builder_end (&builder),
cancellable, &lerr);