added switch to ignore CKA_LABEL on calls to check_pubkey_template and check_pvtkey_template

This commit is contained in:
Kelby Ludwig
2019-05-18 21:39:36 -05:00
parent 0f33efeff7
commit 08b32ef3e0
+2
View File
@@ -439,6 +439,7 @@ CK_RV check_pubkey_template(op_info_t *op_info, CK_ATTRIBUTE_PTR templ, CK_ULONG
case CKA_WRAP:
case CKA_DERIVE:
case CKA_PRIVATE:
case CKA_LABEL:
// Ignore these attributes for now
break;
@@ -508,6 +509,7 @@ CK_RV check_pvtkey_template(op_info_t *op_info, CK_ATTRIBUTE_PTR templ, CK_ULONG
case CKA_PRIVATE:
case CKA_TOKEN:
case CKA_DERIVE:
case CKA_LABEL:
// Ignore these attributes for now
break;