[gnome-keyring/dbus-api] [secret-store] Mark objects as modifiable.
- From: Stefan Walter <stefw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-keyring/dbus-api] [secret-store] Mark objects as modifiable.
- Date: Sun, 30 Aug 2009 18:54:19 +0000 (UTC)
commit d99d472992fe5086ac2e93272462086af6dcc231
Author: Stef Walter <stef memberwebs com>
Date: Sun Aug 30 18:39:07 2009 +0000
[secret-store] Mark objects as modifiable.
Mark item and collection objects as modifiable.
pkcs11/secret-store/gck-secret-object.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pkcs11/secret-store/gck-secret-object.c b/pkcs11/secret-store/gck-secret-object.c
index 074c3cc..19cb106 100644
--- a/pkcs11/secret-store/gck-secret-object.c
+++ b/pkcs11/secret-store/gck-secret-object.c
@@ -91,6 +91,9 @@ gck_secret_object_get_attribute (GckObject *base, GckSession *session, CK_ATTRIB
GckSecretObject *self = GCK_SECRET_OBJECT (base);
switch (attr->type) {
+ case CKA_MODIFIABLE:
+ return gck_attribute_set_bool (attr, TRUE);
+
case CKA_ID:
return gck_attribute_set_string (attr, gck_secret_object_get_identifier (self));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]