Closed Bug 519773 Opened 16 years ago Closed 16 years ago

RFE: error number to string translation

Categories

(NSS :: Libraries, enhancement)

3.12.4
All
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 329017

People

(Reporter: KaiE, Unassigned)

Details

forwarded from https://bugzilla.redhat.com/show_bug.cgi?id=526121 "Please provide a way for an application that uses NSS to easily translate an error number into a string (translated to reflect the current locale, if possible) - from a quick look it seems PR_ErrorInstallTable() would be useful, or perhaps just make SECU_Strerror() available. AFAICS currently a program that links to NSS must maintain it's own error number to string translation tables, which is rather ridiculous."
I guess the error strings are available in mozilla/security/nss/cmd/lib/SECerrs.h which is outside the lib. I believe the first step to solving this bug would be: move the list of strings to the lib
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.