mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-05 15:59:45 +00:00
Fix pk11_DecryptInit for AES. It was telling AES to encrypt, not decrypt.
This commit is contained in:
parent
ef9e88c813
commit
636f968efc
@ -1144,7 +1144,7 @@ finish_des:
|
||||
(unsigned char*)att->attrib.pValue,
|
||||
(unsigned char*)pMechanism->pParameter,
|
||||
pMechanism->mechanism == CKM_AES_ECB ? NSS_AES : NSS_AES_CBC,
|
||||
PR_TRUE, att->attrib.ulValueLen,16);
|
||||
PR_FALSE, att->attrib.ulValueLen,16);
|
||||
pk11_FreeAttribute(att);
|
||||
if (context->cipherInfo == NULL) {
|
||||
crv = CKR_HOST_MEMORY;
|
||||
|
Loading…
Reference in New Issue
Block a user