45 Commits

Author SHA1 Message Date
julien.pierre.bugs%sun.com
8a56cde8ef Include secmodi.h for SECMOD_NewListLock
git-svn-id: svn://10.0.0.236/trunk@163346 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 04:08:16 +00:00
julien.pierre.bugs%sun.com
c35c22f7da Remove unused variable
git-svn-id: svn://10.0.0.236/trunk@163345 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 04:04:25 +00:00
nelsonb%netscape.com
4791ee737c Use the "c beautifier" (cb) to give this code a common K&R style with
an indentation of 4.  Also rewrap a few strangely wrapped lines.
Bug 249330.


git-svn-id: svn://10.0.0.236/trunk@159304 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 00:04:47 +00:00
nelsonb%netscape.com
324befa90f Apply review feedback to signtool sources. Add test case to QA tests.
Bug 248751.


git-svn-id: svn://10.0.0.236/trunk@159298 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 22:21:57 +00:00
nelsonb%netscape.com
8115cc035e Add -X option to produce signed XPI files for mozilla. Bug 248751.
Path contributed by jeff klawiter <jeff@j-maxx.net>. r=nelson


git-svn-id: svn://10.0.0.236/trunk@159222 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 00:01:50 +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
jpierre%netscape.com
f9c5648c5d Support GeneralizedTime in NSS tools. bug 210530. r=wtc
git-svn-id: svn://10.0.0.236/trunk@151617 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 01:15:01 +00:00
nelsonb%netscape.com
15b7b08f9e Detect empty emailAddr strings in CERTCertificates. Bugzilla bug 211540.
Modified Files:
    cmd/dbck/dbck.c cmd/signtool/util.c lib/certdb/certdb.c
    lib/certdb/stanpcertdb.c lib/pkcs7/p7decode.c lib/pki/certificate.c
    lib/pki/pki3hack.c lib/smime/cmssiginfo.c lib/softoken/pkcs11u.c


git-svn-id: svn://10.0.0.236/trunk@149330 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 00:10:01 +00:00
wtc%netscape.com
c497dd6d2d Include nss.h for the declaration of NSS_Shutdown. Use "" around prmem.h
and prio.h.


git-svn-id: svn://10.0.0.236/trunk@142883 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-24 05:23:42 +00:00
wtc%netscape.com
1871b254e6 Bug 58221: don't use strlen to check if a string is of length 0.
git-svn-id: svn://10.0.0.236/trunk@139752 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 06:30:12 +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
ian.mcgreer%sun.com
b74702329e bug 177556, signtool -l fails
r=wtc


git-svn-id: svn://10.0.0.236/trunk@138724 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 21:14:36 +00:00
wtc%netscape.com
916c634dce Bug 191214: fixed the object leaks in signtool that prevented NSS_Shutdown
from succeeding and added the NSS_Shutdown call back.  r=jpierre.
Modified Files: certgen.c sign.c signtool.c


git-svn-id: svn://10.0.0.236/trunk@137163 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 23:11:13 +00:00
wtc%netscape.com
fc82d526b5 Bug 191214: backed out the previous checkin until this bug (object leaks)
is fixed.


git-svn-id: svn://10.0.0.236/trunk@137106 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 01:50:31 +00:00
wtc%netscape.com
89a5f206f5 Bug 171263: signtool should call NSS_Shutdown before it exits.
git-svn-id: svn://10.0.0.236/trunk@137096 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 00:39:37 +00:00
wtc%netscape.com
23826d1288 Bug 145029: fixed compiler warnings (mostly "xxx might be used
uninitialized").


git-svn-id: svn://10.0.0.236/trunk@136476 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 02:49:11 +00:00
relyea%netscape.com
db6a20b385 !@#!$@! signtool thinks it knows how to verify if the certdb's are there and
OK or not. Of course it doesn't.

bob


git-svn-id: svn://10.0.0.236/trunk@132938 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-04 20:37:08 +00:00
wtc%netscape.com
ba3d26e6cf Bug 166781: fixed the bug that 'r2' may be used uninitialized. r=nicolson.
git-svn-id: svn://10.0.0.236/trunk@130614 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 22:22:12 +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
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
kirk.erickson%sun.com
ed9469d29f Fixed indentation caught by Wan-Teh (66606).
git-svn-id: svn://10.0.0.236/trunk@123097 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 22:41:45 +00:00
kirk.erickson%sun.com
74f18bf830 Resolves 66606. Added -O (enable OCSP checking).
git-svn-id: svn://10.0.0.236/trunk@123034 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 16:29:28 +00:00
wtc%netscape.com
7d92def93d Bugzilla bug 135824: fixed slot reference leaks in signtool and removed
a faulty attempt to set user trust.  r=relyea,mcgreer.
Modified files: certgen.c util.c


git-svn-id: svn://10.0.0.236/trunk@121383 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 17:08:20 +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
relyea%netscape.com
38313e37c4 Don't try verifying the db's in a multi-access database case
git-svn-id: svn://10.0.0.236/trunk@118170 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 00:10:39 +00:00
ian.mcgreer%sun.com
028a31b09c bug 123296, infinite loop in signtool when incorrect password given at command line
git-svn-id: svn://10.0.0.236/trunk@117517 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 22:23:28 +00:00
wtc%netscape.com
f4a5b96f33 Bugzilla bug 114748: deleted unnecessary EXTRA_LIBS augmentation. The
zlib and jar libs are already added to EXTRA_LIBS by ../platlibs.mk.


git-svn-id: svn://10.0.0.236/trunk@114231 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 02:01:03 +00:00
wtc%netscape.com
d6278cf4d9 Bugzilla bug 111574: standard header files should be included with
#include <foo.h>, not #include "foo.h".  Thanks to Roland Mainz
<Roland.Mainz@informatik.med.uni-giessen.de> for the patch.  r=wtc.
Modified files: signtool.h jar.h


git-svn-id: svn://10.0.0.236/trunk@109645 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 18:36:58 +00:00
ian.mcgreer%sun.com
25af9bb35b fips fix for signtool
git-svn-id: svn://10.0.0.236/trunk@108318 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 19:39: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
relyea%netscape.com
689040a632 Remove unneeded references to the KeyDB data structure.
fix compilier warnings.


git-svn-id: svn://10.0.0.236/trunk@103355 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:50:21 +00:00
nicolson%netscape.com
d709f29528 Fix bug 90228: Signtool not picking up hidden (dot) files when performing
signing.
Don't skip files that start with "." and "#".


git-svn-id: svn://10.0.0.236/trunk@99665 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-20 21:31:33 +00:00
wtc%netscape.com
bf65953ded Bugzilla bug 70758: additional changes for this bug. r=nicolson.
Modified files: list.c sign.c verify.c


git-svn-id: svn://10.0.0.236/trunk@98802 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-06 13:28:21 +00:00
nicolson%netscape.com
03e0d3a38c ERRX is still -1.
git-svn-id: svn://10.0.0.236/trunk@97877 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-25 21:34:22 +00:00
nicolson%netscape.com
26e70e152c Fix 70758: signtool fails on Windows 2000, returns still 0.
git-svn-id: svn://10.0.0.236/trunk@97876 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-25 21:33:56 +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
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
nelsonb%netscape.com
dbd95a18a1 Changes to deal with exporting data from Windows DLLs.
SECHashObjects[] is no longer exported.
New function HASH_GetHashObject returns pointer to selected const object.
SSL statistics are now in a structure whose address is obtained via a
call to SSL_GetStatistics().
On NT, the new symbol NSS_USE_STATIC_LIBS must be declared in programs
that use the static SSL library.
Also, propagate "const" declaration for SECHashObjects.


git-svn-id: svn://10.0.0.236/trunk@84403 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 01:38:26 +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
relyea%netscape.com
1435766bb3 Fix type casting problems in zip.c
git-svn-id: svn://10.0.0.236/trunk@82989 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:25:36 +00:00
mcgreer%netscape.com
b907026ac7 fix missing libraries in windows build
git-svn-id: svn://10.0.0.236/trunk@82987 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:21:38 +00:00
mcgreer%netscape.com
1b936cd382 changes suggested by bryner to build more of NSS's utilities
git-svn-id: svn://10.0.0.236/trunk@82945 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:36:53 +00:00
relyea%netscape.com
f47ead3b87 OS/2 build changes.
git-svn-id: svn://10.0.0.236/trunk@79631 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 17:07:22 +00:00
mcgreer%netscape.com
5551b8f302 Initial checkin of signtool source.
git-svn-id: svn://10.0.0.236/trunk@65042 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 19:08:51 +00:00