Closed
Bug 236964
Opened 21 years ago
Closed 21 years ago
add dbprefix option for selfserv
Categories
(NSS :: Libraries, enhancement, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
3.10
People
(Reporter: julien.pierre, Assigned: julien.pierre)
Details
Attachments
(1 file)
2.16 KB,
patch
|
nelson
:
review+
|
Details | Diff | Splinter Review |
This is useful to use selfserv with alternate cert databases (such as the ones
from web server, directory server). Patch forthcoming.
Assignee | ||
Updated•21 years ago
|
Assignee: wchang0222 → julien.pierre.bugs
Priority: -- → P3
Target Milestone: --- → 3.10
Assignee | ||
Comment 1•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #143456 -
Flags: review?(wchang0222)
Comment 2•21 years ago
|
||
Comment on attachment 143456 [details] [diff] [review]
add -P option for dbprefix
Is something similar needed for the other tools, e.g. certutil?
Attachment #143456 -
Flags: review?(wchang0222) → review+
Assignee | ||
Comment 3•21 years ago
|
||
Comment on attachment 143456 [details] [diff] [review]
add -P option for dbprefix
Thanks for the review, Nelson.
certutil has had this -P option for a file . It would probably be good to add
this to all the tools, but until now it's been added as-needed.
Assignee | ||
Comment 4•21 years ago
|
||
I meant - "for a while".
Checking in selfserv.c;
/cvsroot/mozilla/security/nss/cmd/selfserv/selfserv.c,v <-- selfserv.c
new revision: 1.56; previous revision: 1.55
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 5•21 years ago
|
||
Comment on attachment 143456 [details] [diff] [review]
add -P option for dbprefix
certPrefix needs to be freed if it doesn't point to "".
Assignee | ||
Comment 6•21 years ago
|
||
Wan-Teh,
Indeed. It seems like it's not been the usage in selfserv and most of nss/cmd to
worry about such pesky details as freeing up the variables that hold
command-line argument values, though. Doing it right would be a whole lot of
work (checking for multiple arguments of the same type and free them, etc) for
not much additional benefit.
You need to log in
before you can comment on or make changes to this bug.
Description
•