File token-failure-with-CKR_MECHANISM_INVALID.patch of Package openCryptoki.2906

--- a/usr/lib/pkcs11/icsf_stdll/icsf.c
+++ b/usr/lib/pkcs11/icsf_stdll/icsf.c
@@ -1711,6 +1711,8 @@
 
 	case CKM_SHA1_RSA_PKCS:
 	case CKM_SHA256_RSA_PKCS:
+	case CKM_DSA_SHA1:
+	case CKM_ECDSA_SHA1:
 		block_size = SHA1_BLOCK_SIZE;
 		break;
openSUSE Build Service is sponsored by