mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
[NSS] Bug 1586176 - EncryptUpdate should use maxout not block size.
This commit is contained in:
parent
39c9c5849b
commit
b7f6024e34
1 changed files with 1 additions and 1 deletions
|
|
@ -1285,7 +1285,7 @@ NSC_EncryptUpdate(CK_SESSION_HANDLE hSession,
|
|||
}
|
||||
/* encrypt the current padded data */
|
||||
rv = (*context->update)(context->cipherInfo, pEncryptedPart,
|
||||
&padoutlen, context->blockSize, context->padBuf,
|
||||
&padoutlen, maxout, context->padBuf,
|
||||
context->blockSize);
|
||||
if (rv != SECSuccess) {
|
||||
return sftk_MapCryptError(PORT_GetError());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue