added switch to ignore CKA_LABEL on calls to check_pubkey_template and check_pvtkey_template
This commit is contained in:
@@ -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_WRAP:
|
||||||
case CKA_DERIVE:
|
case CKA_DERIVE:
|
||||||
case CKA_PRIVATE:
|
case CKA_PRIVATE:
|
||||||
|
case CKA_LABEL:
|
||||||
// Ignore these attributes for now
|
// Ignore these attributes for now
|
||||||
break;
|
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_PRIVATE:
|
||||||
case CKA_TOKEN:
|
case CKA_TOKEN:
|
||||||
case CKA_DERIVE:
|
case CKA_DERIVE:
|
||||||
|
case CKA_LABEL:
|
||||||
// Ignore these attributes for now
|
// Ignore these attributes for now
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user