Remove nsNSSErrors::getDefaultErrorStringName and use PR_ErrorToName instead

RESOLVED WORKSFORME

Status

()

--
minor
RESOLVED WORKSFORME
7 years ago
6 years ago

People

(Reporter: briansmith, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

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 1

6 years ago
reassign bug owner.
mass-update-kaie-20120918
Assignee: kaie → nobody

Comment 2

6 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)
This change was already made as part of Bug 738457:

http://hg.mozilla.org/mozilla-central/rev/5b8f9effd8ca
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.