Closed Bug 169790 Opened 23 years ago Closed 23 years ago

CERT_DecodeDERCrlEx should be named CERT_DecodeDERCrlWithFlags

Categories

(NSS :: Libraries, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nelson, Assigned: wtc)

Details

Attachments

(1 file)

This bug is the result of a review of functions being newly exported in NSS 3.6 that Wan-Teh asked me to perform. CERT_DecodeDERCrlEx is a new function being exported in NSS 3.6. I really dislike the Ex suffix. It's a Microsoft-ism, IMO. It tells the reader that we didn't think hard enough about the function in the first place and had to extend it, but it doesn't give any clue about what the extension is. I don't think any other exported NSS functions end with Ex. I prefer something like "WithFlags", which explains what the addition to the API is. We should fix this for NSS 3.6, or not at all.
Marking P1 for 3.6 per Wan-Teh's instructions.
Priority: -- → P1
Target Milestone: --- → 3.6
Attached patch Proposed patchSplinter Review
Fix checked in. There is one exported NSS function with the "Ex" suffix: SECMOD_AddNewModuleEx. All the other extended variants of NSS functions use the "WithFlags" suffix, so I agree with this change, which correctly describes the difference between CERT_DecodeDERCrl and the new function.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: