Hi Kevin, Have you solved this problem? I'm seeing the same issue. Thanks.
On Friday, August 8, 2014 at 9:37:53 AM UTC-7, Kevin Cleveland wrote: > 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 dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto