Closed
Bug 208854
Opened 22 years ago
Closed 22 years ago
numerous functions declared in both cert.h and genname.h
Categories
(NSS :: Libraries, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.9
People
(Reporter: nelson, Assigned: nelson)
Details
Attachments
(1 file)
|
1.51 KB,
patch
|
wtc
:
review+
|
Details | Diff | Splinter Review |
Numerous functions are declared in both cert.h and genname.h.
Many of those functions are not exported. This begs the questions:
1. Is genname.h public or private?
2. Should cert.h merely include genname.h, rather than duplicating its functions?
3. For each of the duplicated functions:
a. is it public or is it private?
b. should it be declared in cert.h? or in genname.h?
Comment 1•22 years ago
|
||
genname.h is a private header.
| Assignee | ||
Comment 2•22 years ago
|
||
Taking bug. I've already eliminated all but 2 duplicates.
Assignee: wchang0222 → MisterSSL
| Assignee | ||
Comment 3•22 years ago
|
||
Marking P2 for 3.9. Patch forthcoming.
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → 3.9
| Assignee | ||
Comment 4•22 years ago
|
||
This patch does 3 things:
1. Remove one of the two declarations of CERT_GetNamesLength from cert.h
2. Remove CERT_GetNamesLength from cert.h. It is declared in genname.h.
3. Correct the descriptive comment for CERT_GetNamesLength in genname.h
| Assignee | ||
Updated•22 years ago
|
Attachment #132890 -
Flags: review?(wchang0222)
| Assignee | ||
Comment 5•22 years ago
|
||
In comment 4 above, my description of the patch was incorrect.
Item 1 should have read:
1. Remove one of the two declarations of CERT_GetCommonName from cert.h
Comment 6•22 years ago
|
||
Comment on attachment 132890 [details] [diff] [review]
patch v1
r=wtc.
By the way, in the previous comment, the function in item #1
should be CERT_GetCommonName.
Attachment #132890 -
Flags: review?(wchang0222) → review+
| Assignee | ||
Comment 7•22 years ago
|
||
/cvsroot/mozilla/security/nss/lib/certdb/genname.h,v <-- genname.h
new revision: 1.6; previous revision: 1.5
/cvsroot/mozilla/security/nss/lib/certdb/cert.h,v <-- cert.h
new revision: 1.39; previous revision: 1.38
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•