Robert Joop wrote: > > On 01-10-30 05:13:46 CET, Nelson B. Bolyard wrote: > > For future reference ... > > > > error numbers in the range [-12k .. -11K] are SSL errors. > > Their values and symbolic names are defined in > > http://lxr.mozilla.org/mozilla/source/security/nss/lib/ssl/sslerr.h > > and the suggested ASCII English strings for those errors are in > > http://lxr.mozilla.org/mozilla/source/security/nss/cmd/lib/SSLerrs.h#37 > > the cvs log indicates that this file has been there unchanged since > 00-03-31, i.e. for the last 19 months. > why aren't those strings shown to the user? > is it a misconfiguration on my side or is it just not yet implemented?
I'd say the PSM just hasn't implemented it yet. The error numbers are part of NSS. The NSS libraries do not provide a function to return those strings to the application. Each application that uses NSS is expected to provide those strings itself. If an application that uses NSS fails to provide the strings, there's nothing NSS can do about it. NSS provides suggested strings for each error code, (the file named above) but it is up to the application to actually provide and use the strings. The reason for this is simple: No two applications in the known universe use the same methods for internationalization and localization. Any method that NSS supplied for returning internationalized and localized strings (read: strings in different languages) would be right for, at most, one application and wrong for all others. So, NSS puts the burden of providing localized strings where it belongs, on the application. -- Nelson Bolyard Disclaimer: I speak for myself, not for Netscape
