26 lines
817 B
Diff
26 lines
817 B
Diff
From e23948fa491680822177d4428e39866c866fbc64 Mon Sep 17 00:00:00 2001
|
|
From: Ingo Franzki <ifranzki@linux.ibm.com>
|
|
Date: Fri, 8 Apr 2022 08:47:31 +0200
|
|
Subject: [PATCH 03/11] client: Allow zero part length at C_SignUpdate
|
|
|
|
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
|
|
---
|
|
p11-kit/rpc-client.c | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
diff --git a/p11-kit/rpc-client.c b/p11-kit/rpc-client.c
|
|
index a72c1d1..550ebd2 100644
|
|
--- a/p11-kit/rpc-client.c
|
|
+++ b/p11-kit/rpc-client.c
|
|
@@ -1489,8 +1489,6 @@ rpc_C_SignUpdate (CK_X_FUNCTION_LIST *self,
|
|
CK_BYTE_PTR part,
|
|
CK_ULONG part_len)
|
|
{
|
|
- return_val_if_fail (part_len, CKR_ARGUMENTS_BAD);
|
|
-
|
|
BEGIN_CALL_OR (C_SignUpdate, self, CKR_SESSION_HANDLE_INVALID);
|
|
IN_ULONG (session);
|
|
IN_BYTE_ARRAY (part, part_len);
|
|
--
|
|
2.38.1
|
|
|