diff --git a/lib/hx509/softp11.c b/lib/hx509/softp11.c index 839e95647..f93863b7c 100644 --- a/lib/hx509/softp11.c +++ b/lib/hx509/softp11.c @@ -1087,7 +1087,7 @@ C_GetMechanismList(CK_SLOT_ID slotID, *pulCount = 1; if (pMechanismList == NULL_PTR) return CKR_OK; - pMechanismList[1] = CKM_RSA_PKCS; + pMechanismList[0] = CKM_RSA_PKCS; return CKR_OK; }