On Thu, Nov 13, 2008 at 7:41 PM, NZzi <[EMAIL PROTECTED]> wrote: > now the test code failed in PK11_Sign() with 8192 error, > and as i have said error code description about this errno is > senseless.
The -8192 error (SEC_ERROR_IO) is the default error code that NSS currently uses for many crypto function failures. The error code name SEC_ERROR_IO is confusing in this context because it is a crypto operation, not I/O, that failed, and it doesn't tell you why a crypto operation failed. This will be fixed in the upcoming NSS 3.12.3 release. I have some patches for NSS 3.12.2 to fix the SEC_ERROR_IO problem in https://bugzilla.mozilla.org/show_bug.cgi?id=453364. If you build NSS from source code, and are comfortable with apply patches to a source tree, you can try applying the patches in that bug and see if it helps PK11_Sign() report a better error code. Wan-Teh _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto