summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/object.c2
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);