summaryrefslogtreecommitdiff
path: root/ckcapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'ckcapi.c')
-rw-r--r--ckcapi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ckcapi.c b/ckcapi.c
index f0c4629..d7f023b 100644
--- a/ckcapi.c
+++ b/ckcapi.c
@@ -116,10 +116,6 @@ CK_RV
ckcapi_return_data(CK_VOID_PTR dst, CK_ULONG_PTR dlen,
CK_VOID_PTR src, DWORD slen)
{
- // TODO: This check should probably go elsewhere
- if(slen == 0)
- return CKR_ATTRIBUTE_TYPE_INVALID;
-
/* Just asking for the length */
if(!dst)
{