Closed
Bug 128347
Opened 23 years ago
Closed 23 years ago
modutil -add does not allow a parameter string to be passed
Categories
(NSS :: Tools, enhancement, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
3.4
People
(Reporter: julien.pierre, Assigned: julien.pierre)
References
Details
Attachments
(1 file)
3.50 KB,
patch
|
rrelyea
:
review+
|
Details | Diff | Splinter Review |
Since NSS has the ability to pass a parameter string to a PKCS#11 module's
C_Initialize function, we should be able to pass such a string when adding a
module to secmod.db, so that any application initializing NSS could load those
modules that require a configuration string. An extra parameter should be used,
eg -string <paramstring> .
Assignee | ||
Updated•23 years ago
|
Severity: normal → enhancement
Priority: -- → P2
Target Milestone: --- → 3.4.1
Assignee | ||
Comment 1•23 years ago
|
||
Taking bug.
Assignee | ||
Comment 2•23 years ago
|
||
Dumb back button in Netscape6.
So, again, taking bug.
Assignee: wtc → jpierre
Assignee | ||
Comment 3•23 years ago
|
||
We need a new SECMOD_AddNewModuleEx call to implement this. Adding dependency on
128355.
Depends on: 128355
Assignee | ||
Comment 4•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Target Milestone: 3.4.1 → 3.4
Assignee | ||
Comment 5•23 years ago
|
||
Bob or Ian,
Please review. I tested this patch and it works after the patch from 128355.
Comment 6•23 years ago
|
||
Comment on attachment 71968 [details] [diff] [review]
Patch to add -string option to modutil and use the new SECMOD_AddNewModuleEx
Nit: try to make sure you are using the NSS standard whitespace:
indent 4 each time, tabstop at 8:
....
|-tab--|
|-tab--|....
|-tab--||-tab--|
etc
where . = space and
|-tab--| = tab
(that is way lines 145 and 240 don't line up in the context diff)
Attachment #71968 -
Flags: review+
Comment 7•23 years ago
|
||
oops I forget: r=relyea
Assignee | ||
Comment 8•23 years ago
|
||
I think we should have a CVS filter that rejects all check-ins with TAB
characters in them. May the tab characters die !
OK, I fixed the identation.
Checking in modutil.c;
/cvsroot/mozilla/security/nss/cmd/modutil/modutil.c,v <-- modutil.c
new revision: 1.13; previous revision: 1.12
done
Checking in modutil.h;
/cvsroot/mozilla/security/nss/cmd/modutil/modutil.h,v <-- modutil.h
new revision: 1.3; previous revision: 1.2
done
Checking in pk11.c;
/cvsroot/mozilla/security/nss/cmd/modutil/pk11.c,v <-- pk11.c
new revision: 1.13; previous revision: 1.12
done
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•