Closed
Bug 172678
Opened 22 years ago
Closed 22 years ago
The internal functions InitCRLCache and ShutdownCRLCache should not be defined in the public header cert.h
Categories
(NSS :: Libraries, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
3.6
People
(Reporter: wtc, Assigned: julien.pierre)
Details
Attachments
(1 file)
1.90 KB,
patch
|
wtc
:
review+
|
Details | Diff | Splinter Review |
The internal functions InitCRLCache and ShutdownCRLCache should not be defined in the public header file cert.h.
Assignee | ||
Comment 1•22 years ago
|
||
I think the reason why it was done that was is because those internal functions are called accross units. If I declare them in certdb/certi.h, how should I include it from lib/nss ? #include "../certdb/certi.h" ? There doesn't seem to be anything doing that currently.
Reporter | ||
Comment 2•22 years ago
|
||
1. Add certi.h to the PRIVATE_EXPORTS list in lib/certdb/manifest.mn. 2. Say #include "certi.h" from lib/nss or any other directory. Mac does not allow a pathname in #include directives, so #include "../certdb/certi.h" will break Mac builds. See http://bugzilla.mozilla.org/show_bug.cgi?id=166933#c3.
Assignee | ||
Comment 3•22 years ago
|
||
Assignee | ||
Comment 4•22 years ago
|
||
Checking in certdb/cert.h; /cvsroot/mozilla/security/nss/lib/certdb/cert.h,v <-- cert.h new revision: 1.25; previous revision: 1.24 done Checking in certdb/certi.h; /cvsroot/mozilla/security/nss/lib/certdb/certi.h,v <-- certi.h new revision: 1.7; previous revision: 1.6 done Checking in certdb/manifest.mn; /cvsroot/mozilla/security/nss/lib/certdb/manifest.mn,v <-- manifest.mn new revision: 1.10; previous revision: 1.9 done Checking in nss/nssinit.c; /cvsroot/mozilla/security/nss/lib/nss/nssinit.c,v <-- nssinit.c new revision: 1.57; previous revision: 1.56 done
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•22 years ago
|
||
Comment on attachment 101791 [details] [diff] [review] patch to move InitCRLCache and ShutdownCRLCache to private header certi.h r=wtc.
Attachment #101791 -
Flags: review+
Reporter | ||
Updated•22 years ago
|
Target Milestone: --- → 3.6
You need to log in
before you can comment on or make changes to this bug.
Description
•