Closed
Bug 701270
Opened 13 years ago
Closed 12 years ago
Remove nsNSSErrors::getDefaultErrorStringName and use PR_ErrorToName instead
Categories
(Core :: Security: PSM, defect)
Core
Security: PSM
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: briansmith, Unassigned)
Details
NSS 3.13.2 will add some new error codes. Instead of updating nsNSSErrors::getDefaultErrorStringName, we should just use use PR_ErrorToName, since bug 172051 caused PR_ErrorToName to work for NSS.
I am presumptuously assigning this to Kai since he knows more about this code than me, in particular why this suggestion might be a bad idea.
Comment 2•12 years ago
|
||
You may want to consider the convenience macro:
$ grep -r PORT_ErrorToString security/nss/lib/util/secport.h
#define PORT_ErrorToString(err) PR_ErrorToString((err), PR_LANGUAGE_I_DEFAULT)
Reporter | ||
Comment 3•12 years ago
|
||
This change was already made as part of Bug 738457:
http://hg.mozilla.org/mozilla-central/rev/5b8f9effd8ca
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•