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
julien.pierre.bugs%sun.com
dc3d8f8f7a
Remove dead config.mk files for modutil and ssltap. Fix for 294720. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@184388 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 03:00:05 +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
julien.pierre.bugs%sun.com
00fdce35ea
Reduce unneeded warning output
...
git-svn-id: svn://10.0.0.236/trunk@171507 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 06:46:51 +00:00
gerv%gerv.net
a2d903c9f2
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@168726 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 22:28:27 +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
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
wtc%netscape.com
6d47044c42
Bug 197890: Eliminated the artificial dependency of all NSS cmd tools on
...
zlib. Only some of them (modutil and signtool) need zlib and we now define
that dependency explicitly. In shlibsign/sign.sh, escape the drive letter
if the pathname contains it and we are using Cygwin so that the pathname
does not contain any colon, which is the PATH separator in Cygwin. r=relyea
Modified Files: platlibs.mk modutil/manifest.mn shlibsign/sign.sh
signtool/manifest.mn
git-svn-id: svn://10.0.0.236/trunk@139615 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 21:48:18 +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
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
nicolson%netscape.com
4b34ca8158
Fix 164126: makefile build error.
...
Change the NSS module name from "security" to "nss".
git-svn-id: svn://10.0.0.236/trunk@128961 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 16:38:56 +00:00
wtc%netscape.com
16ce983004
Bugs 166734 and 166785: fixed compiler warnings reported by gcc on Linux.
...
The patch for this checkin is attached to bug 166785.
git-svn-id: svn://10.0.0.236/trunk@128926 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 00:27:52 +00:00
wtc%netscape.com
952d7bcc66
Removed README.TXT, which is just README with Windows line endings (CRLF).
...
git-svn-id: svn://10.0.0.236/trunk@124852 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 17:11:25 +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
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