diff options
author | Stef Walter <stefw@gnome.org> | 2012-04-07 15:12:30 +0200 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2012-04-07 15:12:30 +0200 |
commit | bce08aa43a6fc70d24ce08f54915ca53ce08d2c4 (patch) | |
tree | b865ba2dbb1df3f42d5e17207139626e04a24ef8 /src | |
parent | f3ddbe040a356bdc7ac4be5a7fe89599ff7f50c8 (diff) |
Diffstat (limited to 'src')
-rw-r--r-- | src/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.c b/src/object.c index 4252bbc..d2b99d1 100644 --- a/src/object.c +++ b/src/object.c @@ -238,7 +238,7 @@ test_get_attribute_value(CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object) attrs[0].type = CKA_INVALID; attrs[1].type = CKA_CLASS; attrs[0].ulValueLen = attrs[1].ulValueLen = 0; - attrs[0].pValue = attrs[0].pValue = NULL; + attrs[0].pValue = attrs[1].pValue = NULL; rv = (p11t_module_funcs->C_GetAttributeValue)(session, object, attrs, 2); P11T_CHECK_RV("With one invalid attribute, no buffer", rv, CKR_ATTRIBUTE_TYPE_INVALID); |