Fix off by 1 write.
This commit is contained in:

committed by
Viktor Dukhovni

parent
6b285e67e5
commit
aad3b229ae
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user