summaryrefslogtreecommitdiff
path: root/daemon/pk/gkr-pk-util.c
diff options
context:
space:
mode:
authorStefan Walter <stefw@src.gnome.org>2008-12-12 02:44:24 +0000
committerStefan Walter <stefw@src.gnome.org>2008-12-12 02:44:24 +0000
commitbdeb75dc667bb8dade68370d7cc527f51e1970b7 (patch)
treef7c36608e0bed950647b5bfd261641ec73d756cd /daemon/pk/gkr-pk-util.c
parent8fdae2b8c153306aa0bfcf04dc9a99e370572cef (diff)
Fix most of the inconsistencies and bugs highlighted by the p11-tests
* daemon/pk/gkr-pk-cert.c: * daemon/pk/gkr-pk-privkey.c: * daemon/pk/gkr-pk-pubkey.c: * daemon/pk/gkr-pk-pubkey.h: * daemon/pk/gkr-pk-util.c: * daemon/pkcs11/gkr-pkcs11-daemon-session.c: * daemon/pkix/gkr-pkix-asn1.c: * pkcs11/gkr-pkcs11-module.c: Fix most of the inconsistencies and bugs highlighted by the p11-tests tool. svn path=/trunk/; revision=1384
Diffstat (limited to 'daemon/pk/gkr-pk-util.c')
-rw-r--r--daemon/pk/gkr-pk-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/pk/gkr-pk-util.c b/daemon/pk/gkr-pk-util.c
index 356f1c7f..b552a47a 100644
--- a/daemon/pk/gkr-pk-util.c
+++ b/daemon/pk/gkr-pk-util.c
@@ -251,7 +251,7 @@ gkr_pk_attribute_set_string (CK_ATTRIBUTE_PTR attr, const gchar *str)
g_assert (attr);
g_assert (str);
- gkr_pk_attribute_set_data (attr, str, strlen (str) + 1);
+ gkr_pk_attribute_set_data (attr, str, strlen (str));
}
void