summaryrefslogtreecommitdiff
path: root/ckcapi-trust.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-12-03 00:20:13 +0000
committerStef Walter <stef@memberwebs.com>2008-12-03 00:20:13 +0000
commitb00eb56b7ffe5019bb33ad399d351b90f4715132 (patch)
tree0dbf8ab4425a6eb4f8cbc028556403515e516d68 /ckcapi-trust.c
parent4b5eb21486d188f57f2bf7a91cd5da225dd3e0d1 (diff)
Add basic key object support. No support yet for actual crypto ops. Not tested. Wanted to check it in so it doesn't get lost as it represents a lot of work.
Diffstat (limited to 'ckcapi-trust.c')
-rw-r--r--ckcapi-trust.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ckcapi-trust.c b/ckcapi-trust.c
index 98c0046..6107ac5 100644
--- a/ckcapi-trust.c
+++ b/ckcapi-trust.c
@@ -141,7 +141,7 @@ trust_bool_attribute(CkCapiObjectData* objdata, CK_ATTRIBUTE_PTR attr)
return CKR_ATTRIBUTE_TYPE_INVALID;
};
- return ckcapi_return_data(attr->pValue, &attr->ulValueLen, &val, sizeof(CK_BBOOL));
+ return ckcapi_return_data(attr, &val, sizeof(CK_BBOOL));
}
static CK_RV
@@ -221,7 +221,7 @@ trust_ulong_attribute(CkCapiObjectData* objdata, CK_ATTRIBUTE_PTR attr)
return CKR_ATTRIBUTE_TYPE_INVALID;
};
- return ckcapi_return_data(attr->pValue, &attr->ulValueLen, &val, sizeof(CK_ULONG));
+ return ckcapi_return_data(attr, &val, sizeof(CK_ULONG));
}
static CK_RV