p11-kit/0004-Fix-support-of-CKA_DERIVE_TEMPLATE.patch
2024-02-28 21:54:07 +08:00

25 lines
791 B
Diff

From c12d7c858728ebeb2db6e450f21895c419f0fe04 Mon Sep 17 00:00:00 2001
From: Ingo Franzki <ifranzki@linux.ibm.com>
Date: Fri, 8 Apr 2022 09:35:54 +0200
Subject: [PATCH 04/11] Fix support of CKA_DERIVE_TEMPLATE
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
---
p11-kit/rpc-message.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/p11-kit/rpc-message.c b/p11-kit/rpc-message.c
index d842df0..cedda03 100644
--- a/p11-kit/rpc-message.c
+++ b/p11-kit/rpc-message.c
@@ -834,6 +834,7 @@ map_attribute_to_value_type (CK_ATTRIBUTE_TYPE type)
return P11_RPC_VALUE_ULONG;
case CKA_WRAP_TEMPLATE:
case CKA_UNWRAP_TEMPLATE:
+ case CKA_DERIVE_TEMPLATE:
return P11_RPC_VALUE_ATTRIBUTE_ARRAY;
case CKA_ALLOWED_MECHANISMS:
return P11_RPC_VALUE_MECHANISM_TYPE_ARRAY;
--
2.38.1