- get_mechanism_list now reports correct number of mechanisms
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@719 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
4e61af2b57
commit
828819a1ec
|
@ -415,6 +415,7 @@ static CK_RV pkcs15_get_mechanism_list(struct sc_pkcs11_card *p11card,
|
|||
return CKR_BUFFER_TOO_SMALL;
|
||||
}
|
||||
memcpy(pMechanismList, &mechanism_list, sizeof(mechanism_list));
|
||||
*pulCount = numMechanisms;
|
||||
|
||||
return CKR_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue