switch out the pkcs11 headers for the SCUTE pkcs11 header from opensc

create pkcs11y.h for our additional things
This commit is contained in:
Klas Lindfors
2016-08-12 13:46:37 +02:00
parent fead011e71
commit e7b4fc6ccf
13 changed files with 1430 additions and 2448 deletions
+1 -1
View File
@@ -1555,7 +1555,7 @@ CK_RV check_create_rsa_key(CK_ATTRIBUTE_PTR templ, CK_ULONG n, CK_BYTE_PTR id,
CK_RV check_delete_cert(CK_OBJECT_HANDLE hObject, CK_BYTE_PTR id) {
if (hObject < PIV_CERT_OBJ_X509_PIV_AUTH || hObject >= PIV_CERT_OBJ_LAST)
return CKR_ACTION_PROHIBITED;
return CKR_FUNCTION_FAILED;
*id = hObject - PIV_CERT_OBJ_X509_PIV_AUTH;