Michiel van Meersbergen wrote: > I'm running into some troubles using the original binaries from the NSS > releases directory. Whether I use the debug or the optimized binaries > for NSS 3.11 (from WINNT5.0_OPT.OBJ/) with the NSPR 4.6 binaries (also > from WINNT5.0_OPT.OBJ/), I always get 'error 126' as the corresponding > error text to an NSPR error code,
At the present time, it is best (IMO) to not expect to get error strings from the "official" NSS shared libraries or other binaries. I hope to fix that in NSS 3.12. In the mean time, use these 3 header files: http://lxr.mozilla.org/security/source/security/nss/cmd/lib/NSPRerrs.h http://lxr.mozilla.org/security/source/security/nss/cmd/lib/SECerrs.h http://lxr.mozilla.org/security/source/security/nss/cmd/lib/SSLerrs.h Sample code to do that is seen at http://lxr.mozilla.org/security/source/security/nss/cmd/lib/secerror.c#53 -- Nelson B _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto