ykcs11: ignore more attributes when creating objects

This commit is contained in:
Alessio Di Mauro
2018-05-15 11:45:00 +02:00
parent bdfe49f223
commit 5877998f03
+2
View File
@@ -1335,6 +1335,8 @@ CK_RV check_create_cert(CK_ATTRIBUTE_PTR templ, CK_ULONG n,
case CKA_SUBJECT: case CKA_SUBJECT:
case CKA_ISSUER: case CKA_ISSUER:
case CKA_CERTIFICATE_TYPE: case CKA_CERTIFICATE_TYPE:
case CKA_PRIVATE:
case CKA_SERIAL_NUMBER:
// Ignore other attributes // Ignore other attributes
break; break;