29 Commits

Author SHA1 Message Date
wtc%google.com
c87ff82fc4 Bug 447563: fixed this bug without changing the values of error codes.
Use ADD_MODULE_FAILED_ERR as the surviving error code name.  r=emaldona
Modified Files:
	error.h pk11.c


git-svn-id: svn://10.0.0.236/trunk@254171 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-11 17:32:08 +00:00
emaldona%redhat.com
30226bc23c Bug 447563: Better error messages. r=nelson
git-svn-id: svn://10.0.0.236/trunk@254142 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-10 14:02:00 +00:00
julien.pierre.boogz%sun.com
8c15f988ed Fix for bug 423839 . Add multiple PKCS#11 token password command line options to crmftest, modutil, p7sign, p7content . r=nelson
git-svn-id: svn://10.0.0.236/trunk@253377 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-04 22:58:31 +00:00
rrelyea%redhat.com
5e97cf8097 Add Camilla cipher suites TLS RFC4132 bug 361025
code supplied by okazaki@kick.gr.jp


git-svn-id: svn://10.0.0.236/trunk@221086 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 19:47:40 +00:00
alexei.volkov.bugs%sun.com
c9763fb007 359331: modutil -changepw strict shutdown failure. r=nelson
git-svn-id: svn://10.0.0.236/trunk@217795 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 00:33:54 +00:00
nelson%bolyard.com
80b2615268 Bug 354423. Get the right string length. R=alexei.volkov,rrelyea
git-svn-id: svn://10.0.0.236/trunk@217682 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 12:54:10 +00:00
julien.pierre.bugs%sun.com
474a7151bc Fix for bug 352439 - reference leaks in modutil . r=alexei.volkov
git-svn-id: svn://10.0.0.236/trunk@211841 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-15 23:10:13 +00:00
nelson%bolyard.com
4a76b12e4a Bug 326690. Enable modutil to configure default slots for the
AES, SHA256 or SHA512 mechanisms.  r=rrelyea,julien.pierre


git-svn-id: svn://10.0.0.236/trunk@191365 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 05:16:00 +00:00
gerv%gerv.net
43cb9e1492 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
relyea%netscape.com
291f5c8248 Bug 203866
Make unloaded modules visible for administrative purposes.
sr=wtc r=nelson


git-svn-id: svn://10.0.0.236/trunk@147841 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 15:29:43 +00:00
nelsonb%netscape.com
1ac2b80786 Check for presence of secmod.db file prior to acting on it, for all
cases except "multiaccess:".  Bug 220217. r=relyea


git-svn-id: svn://10.0.0.236/trunk@147645 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 23:33:03 +00:00
nelsonb%netscape.com
9ae20d64bf Fix usage message to list all commands. Also, fix a few lines of
code that did not follow the file's convention for indentation.
Bug 203870.


git-svn-id: svn://10.0.0.236/trunk@147264 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 21:49:49 +00:00
kirk.erickson%sun.com
b5ee5bd796 Addresses bug 193378 modutil should print an error message,
by printing error on SECMOD_DeleteInternalModule() failure.


git-svn-id: svn://10.0.0.236/trunk@138408 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 02:09:11 +00:00
relyea%netscape.com
a7b24ab1b2 Surface the Err codes if we fail to shift to FIPS mode.
Add new option to verify that we have shifted to FIPS mode.


git-svn-id: svn://10.0.0.236/trunk@137392 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-05 00:31:15 +00:00
relyea%netscape.com
ed0e221f04 Compile modutil with shared libraries.
git-svn-id: svn://10.0.0.236/trunk@137032 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 16:44:33 +00:00
wtc%netscape.com
4d2eddeffb Bugzilla bug 131078: fixed compiler warnings. r=mcgreer.
git-svn-id: svn://10.0.0.236/trunk@116631 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 06:07:41 +00:00
jpierre%netscape.com
104ab33335 Fix bug 128347 - add -string argument to pass strings to PKCS#11 modules upon addition
git-svn-id: svn://10.0.0.236/trunk@115630 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:56:27 +00:00
jpierre%netscape.com
26c1e6d023 Fix for 125143 - allow modutil to report PKCS#11 library load failure errors
git-svn-id: svn://10.0.0.236/trunk@114359 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:43:10 +00:00
jpierre%netscape.com
9d6c410b11 Reset NSPR error text before adding the module to make sure we aren't getting some previous error
git-svn-id: svn://10.0.0.236/trunk@114248 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:25:15 +00:00
jpierre%netscape.com
8b6f524f9d Make modutil display a more detailed error when a PKCS#11 module fails to load. This is done by checking the NSPR error text that is set by PR_LoadLibrary failures deep in SECMOD_AddNewModule
git-svn-id: svn://10.0.0.236/trunk@114245 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:09:21 +00:00
nelsonb%netscape.com
0b78f800ea Change the behavior of the -list <module> option so that it doesn't stop
at the first error it encounters when looping through the slots, and so
that it displays the slot info even if it cannot get token info. 111075


git-svn-id: svn://10.0.0.236/trunk@108719 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 20:52:37 +00:00
relyea%netscape.com
162c530b16 Land BOB_WORK_BRANCH unto the tip.
remove lots of depricated files.
move some files to appropriate directories (pcertdb *_rand
associated headers to soft token, for instance)
rename several stan files which had the same name as other nss files.
remove depricated functions.


git-svn-id: svn://10.0.0.236/trunk@107628 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 00:15:51 +00:00
ian.mcgreer%sun.com
d37dd4ed78 fix prompts to STDIN when using file passwords, bug 103942
git-svn-id: svn://10.0.0.236/trunk@105059 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 19:54:22 +00:00
relyea%netscape.com
6e05bd575f Fix compiler warnings.
Use the new Initalization functions for Modules.


git-svn-id: svn://10.0.0.236/trunk@103352 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:44:20 +00:00
relyea%netscape.com
96a8daf191 Fix Updating the slot in modutil.
Add option to dump the raw PKCS #11 strings.


git-svn-id: svn://10.0.0.236/trunk@102453 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:16:51 +00:00
wtc%netscape.com
fdb50e4111 Bugzilla bug 95797: fixed a typo. Thanks to Joerg Brunsmann
<joerg_brunsmann@yahoo.de> for the bug report and patch.


git-svn-id: svn://10.0.0.236/trunk@101431 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-20 19:05:34 +00:00
wtc%netscape.com
30d9ff478a Bugzilla bug #77884: fixed discrepancy between the size of an array and
the variable that represents the array size.  Let the compiler compute
the value for us instead of using hardcoded constants.  Thanks to
andrew@fernandes.org for reporting and tracking down this bug.


git-svn-id: svn://10.0.0.236/trunk@96538 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 17:00:51 +00:00
relyea%netscape.com
79bdd1d55c Add TLS and SSL flags to modutil.
Allow the Default flag to work specifically on a slot.


git-svn-id: svn://10.0.0.236/trunk@70061 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 17:27:29 +00:00
relyea%netscape.com
a4d4d45374 Initial NSS Open Source checkin
git-svn-id: svn://10.0.0.236/trunk@64788 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:13:40 +00:00