Closed Bug 236964 Opened 21 years ago Closed 21 years ago

add dbprefix option for selfserv

Categories

(NSS :: Libraries, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: julien.pierre, Assigned: julien.pierre)

Details

Attachments

(1 file)

This is useful to use selfserv with alternate cert databases (such as the ones from web server, directory server). Patch forthcoming.
Assignee: wchang0222 → julien.pierre.bugs
Priority: -- → P3
Target Milestone: --- → 3.10
Attachment #143456 - Flags: review?(wchang0222)
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+
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.
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 on attachment 143456 [details] [diff] [review] add -P option for dbprefix certPrefix needs to be freed if it doesn't point to "".
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.

Attachment

General

Creator:
Created:
Updated:
Size: