summaryrefslogtreecommitdiff
path: root/daemon/pk/gkr-pk-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/pk/gkr-pk-object.c')
-rw-r--r--daemon/pk/gkr-pk-object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/pk/gkr-pk-object.c b/daemon/pk/gkr-pk-object.c
index 9cc33185..14e3c205 100644
--- a/daemon/pk/gkr-pk-object.c
+++ b/daemon/pk/gkr-pk-object.c
@@ -539,7 +539,7 @@ gkr_pk_object_create (GkrPkSession *session,
g_return_val_if_fail (*object != NULL, CKR_GENERAL_ERROR);
/* Mark these bits as used */
- gkr_pk_attributes_consume (attrs, CKA_CLASS, CKA_TOKEN, -1);
+ gkr_pk_attributes_consume (attrs, CKA_CLASS, CKA_TOKEN, G_MAXULONG);
/*
* Check that all the remaining attributes are either already