25 Commits

Author SHA1 Message Date
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
nelsonb%netscape.com
00749853c3 Remove fortezza code from libSSL and from the SSL test programs.
Stop building fortezza's special software token, and fortezza specific
test programs.   Bug 239960. r=rrelyea.
Modified Files:
    cmd/manifest.mn cmd/platlibs.mk cmd/SSLsample/server.c
    cmd/SSLsample/sslsample.c cmd/modutil/modutil.c
    cmd/selfserv/selfserv.c cmd/sslstrength/sslstrength.c
    cmd/strsclnt/strsclnt.c cmd/tstclnt/tstclnt.c
    cmd/vfyserv/vfyserv.c cmd/vfyserv/vfyutil.c lib/manifest.mn
    lib/ssl/nsskea.c lib/ssl/preenc.h lib/ssl/prelib.c
    lib/ssl/ssl.h lib/ssl/ssl3con.c lib/ssl/ssl3prot.h
    lib/ssl/sslauth.c lib/ssl/sslcon.c lib/ssl/sslenum.c
    lib/ssl/sslimpl.h lib/ssl/sslinfo.c lib/ssl/sslproto.h
    lib/ssl/sslsecur.c lib/ssl/sslsnce.c lib/ssl/sslsock.c
    lib/ssl/sslt.h


git-svn-id: svn://10.0.0.236/trunk@177810 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 03:42:26 +00:00
nelsonb%netscape.com
663db84c36 Back out the preceeding fortezza removal patch, which was accidentally
applied to the trunk, not to the intended branch.


git-svn-id: svn://10.0.0.236/trunk@171823 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 21:35:45 +00:00
nelsonb%netscape.com
b62572db42 Remove fortezza support from libSSL and related commands. Bug 239960.
ON PERFORMANCE_HACKS_BRANCH.  r=rrelyea.


git-svn-id: svn://10.0.0.236/trunk@171820 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 19:43:19 +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
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
wtc%netscape.com
eee783e6a0 Bug 206926: 1. Undo the changes to secrng.h, pqgutil.h, swfutl.c,
unix_rand.c, and win_rand.c. 2. Make secrng.h and pqgutil.h private.
3. Public header pk11pqg.h can't include private header pqgutil.h.
4. Many files don't need to include secrng.h.  A few don't need to include
pqgutil.h.  5. Remove duplicate declarations of PQG_DestroyParams and
PQG_DestroyVerify from blapi.h.


git-svn-id: svn://10.0.0.236/trunk@143125 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 23:31:32 +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
bishakhabanerjee%netscape.com
43ef69edd2 checking return value of NSS_Shutdown. Bug 171263
git-svn-id: svn://10.0.0.236/trunk@135950 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 22:31:36 +00:00
relyea%netscape.com
50406c66c5 Bug 133584: Fix reference leaks which prevent shutdown in NSS and in the tests.
Debug builds can verify correct operation by setting NSS_STRICT_SHUTDOWN, which
will cause an assert if shutdown is called but not all the modules are freed (which
means a slot, key, or cert reference has been leaked).


git-svn-id: svn://10.0.0.236/trunk@118866 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 19:05:21 +00:00
jpierre%netscape.com
7a190abea9 Call NSS_Shudown in modutil
git-svn-id: svn://10.0.0.236/trunk@117598 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 05:02:58 +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
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
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
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
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
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