[NSS] Bug 1586176 - EncryptUpdate should use maxout not block size.
This commit is contained in:
parent
ab0067bd7d
commit
6ba30e77c9
|
@ -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…
Reference in New Issue