Hello,
If an invalid length buffer is passed to nssCKFWSession_Final, it does not
reset the state of my operation, and all other attempts to decrypt fail with
CKR_OPERATION_ACTIVE
done:
if (CKR_BUFFER_TOO_SMALL == error) {
return error;
}
/* clean up our state */
nssCKFWCryptoOperation_Destroy(fwOperation);
nssCKFWSession_SetCurrentCryptoOperation(fwSession, NULL, state);
return error;
}
I am seeing this from java if a bad string is being passed to my decrypt
method. Is there a way to clean up the current session manually?
Thanks!
--
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto