Fixed unhashed sign mechanisms.

This commit is contained in:
Alessio Di Mauro
2015-08-19 15:20:27 +02:00
parent 6a60c779da
commit a792e16333
2 changed files with 25 additions and 4 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ CK_RV apply_sign_mechanism_update(op_info_t *op_info, CK_BYTE_PTR in, CK_ULONG i
// Mechanism not suitable for multipart signatures
return CKR_FUNCTION_FAILED;
case CKM_RSA_X_509:
case CKM_RSA_X_509: // TODO: shouldn't this be in the group above?
return CKR_OK;
case CKM_SHA1_RSA_PKCS: