Closed
Bug 1149279
Opened 10 years ago
Closed 10 years ago
remove unused build config variable NSS_NO_LIBPKIX
Categories
(Core :: Security: PSM, defect)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
mozilla41
| Tracking | Status | |
|---|---|---|
| firefox41 | --- | fixed |
People
(Reporter: keeler, Assigned: ma.steiman, Mentored)
References
Details
(Whiteboard: [good-first-bug])
Attachments
(1 file)
|
1.96 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
NSS_NO_LIBPKIX was added in bug 787155, it seems, but we've since removed libpkix as a certificate validation option, so we never call it (and all instances of NSS_NO_LIBPKIX in actual code appear to have been removed).
| Reporter | ||
Updated•10 years ago
|
Mentor: dkeeler
Whiteboard: [good-first-bug]
| Assignee | ||
Comment 1•10 years ago
|
||
Hey I would love to be assigned this bug, can you assign it to me David?
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(dkeeler)
| Assignee | ||
Comment 2•10 years ago
|
||
As NSS_NO_LIBPKIX seems to still be being tested in the configure.in:
if test -n "$NSS_NO_LIBPKIX"; then
AC_DEFINE(NSS_NO_LIBPKIX)
fi
AC_SUBST(NSS_NO_LIBPKIX)
What would be the appropriate course of action? In b2g/confvars.sh it's also being defined. Just a little help would clear things up as my understanding of the summary is it's not being used, thanks!
| Reporter | ||
Comment 3•10 years ago
|
||
Hi Muhsin, I believe the use of NSS_NO_LIBPKIX in configure.in is just the way we convert variables set in confvar.sh and related files to build-time #defines. Since NSS_NO_LIBPKIX doesn't appear in any source files, it should be ok to simply remove all references to it.
Assignee: nobody → ma.steiman
Flags: needinfo?(dkeeler)
| Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•10 years ago
|
||
Patch to remove unused NSS_NO_LIBPKIX. David, you are the only name in the suggested reviewers dropdown list so if you are unable to review please let me know who can. Thank you!!
Flags: needinfo?(dkeeler)
Attachment #8614810 -
Flags: review?(dkeeler)
| Reporter | ||
Comment 5•10 years ago
|
||
Comment on attachment 8614810 [details] [diff] [review]
Removes unused NSS_NO_LIBPKIX
Review of attachment 8614810 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me, but technically I think this needs sign-off from someone like :gps.
Attachment #8614810 -
Flags: review?(dkeeler) → review?(gps)
| Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(dkeeler)
Comment 6•10 years ago
|
||
Comment on attachment 8614810 [details] [diff] [review]
Removes unused NSS_NO_LIBPKIX
Review of attachment 8614810 [details] [diff] [review]:
-----------------------------------------------------------------
I love patches that delete dead code.
Attachment #8614810 -
Flags: review?(gps) → review+
| Assignee | ||
Comment 7•10 years ago
|
||
Keyword changed to checkin-needed. At this point do I change the status to 'RESOLVED' or is this done upon checkin? Thanks!
Flags: needinfo?(dkeeler)
Keywords: checkin-needed
| Reporter | ||
Comment 8•10 years ago
|
||
Great!
This bug will get marked RESOLVED automatically when it gets merged to mozilla-central. In theory we should first run it through try, although it will almost certainly not break anything. Since I had another patch to try, I went ahead and included it with that:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7bf9c8f3e619
Flags: needinfo?(dkeeler)
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•