mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 05:48:26 +00:00
Make CKM_MD5_RSA_PKCS actually do MD5 hashes instead of MD2 hashes.
This commit is contained in:
parent
4dfc3221bf
commit
7c1b2dd0c9
@ -2081,7 +2081,7 @@ CK_RV NSC_SignInit(CK_SESSION_HANDLE hSession,
|
||||
switch(pMechanism->mechanism) {
|
||||
case CKM_MD5_RSA_PKCS:
|
||||
context->multi = PR_TRUE;
|
||||
crv = pk11_doSubMD2(context);
|
||||
crv = pk11_doSubMD5(context);
|
||||
if (crv != CKR_OK) break;
|
||||
context->update = (PK11Cipher) pk11_HashSign;
|
||||
info = (PK11HashSignInfo *)PORT_Alloc(sizeof(PK11HashSignInfo));
|
||||
|
Loading…
x
Reference in New Issue
Block a user