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
@@ -1165,7 +1165,7 @@ CK_DEFINE_FUNCTION(CK_RV, C_DestroyObject)(
// SO must be logged in
if (session.info.state != CKS_RW_SO_FUNCTIONS) {
DBG("Unable to delete objects, SO must be logged in");
return CKR_ACTION_PROHIBITED;
return CKR_USER_NOT_LOGGED_IN;
}
rv = check_delete_cert(hObject, &id);