31 Commits

Author SHA1 Message Date
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
nelsonb%netscape.com
d58ebedbc4 Change most coreconf and NSS makefiles to use OS_TARGET (which can
be overridden via an environment variable) rather than OS_ARCH.
This is a precursor to more flexibility in cross-platform builds.
Bug 104541.


git-svn-id: svn://10.0.0.236/trunk@114608 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 22:54:08 +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
8baf9712df Bugzilla bug 94685: added 'const' to eliminate compiler warning.
Modified files: install.c instsec.c


git-svn-id: svn://10.0.0.236/trunk@101670 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-23 00:10:00 +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
ed82589e54 OK, let's not get sloppy on the types... flags should be a PRUint32.
git-svn-id: svn://10.0.0.236/trunk@86732 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 02:05:19 +00:00
relyea%netscape.com
cfdefcfcde Make the public interface use a flags variable instead of a billion little
Bools.

suggested and reviewed by wtc in bug 66230


git-svn-id: svn://10.0.0.236/trunk@86731 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 02:03:03 +00:00
relyea%netscape.com
82187a130c update certutil and modutil to use the new NSS_Initialize signature.
modutil can now specify it's nocertdb paramter.

bug 64260 reviewed by wtc


git-svn-id: svn://10.0.0.236/trunk@86649 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 01:38:04 +00:00
kirke%netscape.com
55dbf03443 Resolves bug 66244 - Many NSS command do not detect failure of NSS_Init* functions. Introduced SECU_PrintPRandOSError(progName); to print on failure. Each command is responsible for exiting with appropriate status to distinguish failure points.
git-svn-id: svn://10.0.0.236/trunk@85896 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:25:02 +00:00
mcgreer%netscape.com
6d30756adc dbprefix option added
git-svn-id: svn://10.0.0.236/trunk@85281 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 19:51:41 +00:00
nelsonb%netscape.com
68e54ecade Add missing #include "nss.h"
git-svn-id: svn://10.0.0.236/trunk@84516 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:43:28 +00:00
relyea%netscape.com
b1cc2130ca Fix initialization to use NSS_Init* functions rather than low level
init functions.


git-svn-id: svn://10.0.0.236/trunk@84489 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 22:09:04 +00:00
relyea%netscape.com
2911c27f7a Add dynamic Library support to commands. Mark those that commands that still
need to be build with static libraries appropriately.


git-svn-id: svn://10.0.0.236/trunk@83994 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 17:09:07 +00:00
mcgreer%netscape.com
56065300c5 add seeding call (req by RNG)
git-svn-id: svn://10.0.0.236/trunk@80150 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 15:25:42 +00:00
wtc%netscape.com
9c4d721789 Bugzilla bug #52232: remove the yacc rule and also cancel the implicit
yacc and lex rules in the primary Makefile.  Added comments to rules.mk
explaining that Berkeley yacc should be used.
Modified files: Makefile, rules.mk


git-svn-id: svn://10.0.0.236/trunk@78884 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 18:52:57 +00:00
wtc%netscape.com
d6b2fe7a69 Bugzilla bug #52232: reverted to revision 1.1, which was generated
by Berkeley yacc 1.4 and hence was portable.  Revision 1.2 was
generated by the yacc in Solaris 2.6 and contained
#include <values.h>, which does not exist on NT.  Always use Berkeley
yacc (latest version is 1.9) to generate installparse.{c,h}.
Modified files: installparse.c, installparse.h


git-svn-id: svn://10.0.0.236/trunk@78878 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 14:51:06 +00:00
wtc%netscape.com
f2d8337454 Bugzilla bug #52173: restored the FORCE target for NT.
git-svn-id: svn://10.0.0.236/trunk@78775 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:54:10 +00:00
wtc%netscape.com
7fc1d2ae48 Bugzilla bug #52173: accept both ytab.{c,h} and y.tab.{c,h} as the output
files of yacc.


git-svn-id: svn://10.0.0.236/trunk@78771 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:40:42 +00:00
nelsonb%netscape.com
6a5f5078f0 Force installparse.y to be rebuilt on NT.
git-svn-id: svn://10.0.0.236/trunk@78157 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 20:42:26 +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
fbf05404e8 Update makefiles so NT will build. (and other platforms that don't have symbolic links)
git-svn-id: svn://10.0.0.236/trunk@65052 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 21:41:33 +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