I have not a bugzilla account. I am sorry for my bad english, I hope you can understand what i mean.
I want to get the test pkcs11 suite. but I can't get the test suite why In pk11test.c , don't call pkcs11 function? Can you send me the tools "regress" and "reporter". how can i call the pkcs11 function provide by the netscape? "Nelson B. Bolyard" <[EMAIL PROTECTED]> ??????:[EMAIL PROTECTED] > pingzhenyu wrote: > > > > http://lxr.mozilla.org/seamonkey/source/security/nss/lib/softoken/pkcs11c.c > > > > mozilla/ security/ nss/ lib/ softoken/ pkcs11c.c > > > > old: > > 757 /* encrypt the current padded data */ > > 758 rv = (*context->update)(context->cipherInfo,pEncryptedPart, > > 759 &outlen,context->blockSize,context->padBuf,context->blockSize); > > > > may be: > > > > 757 /* encrypt the current padded data */ > > 758 rv = (*context->update)(context->cipherInfo,pEncryptedPart, > > 759 &padoutlen,context->blockSize,context->padBuf,context->blockSize); > > Looks like a bug to me. Good catch! > If you have a bugzilla account, you can file a bug report. > If not, I can do so for you. > > I'll bet this code path is not being used currently in any of the NSS test > programs, or by PSM. Otherwise, I'm sure we would have received complaints > about incorrectly encrypted data by now. > > -- > Nelson Bolyard
