2877 Commits

Author SHA1 Message Date
ian.mcgreer%sun.com
e8d1c34918 bug 125263, the subject lists in the temp store are actual hash entries, thus any attempt to extract certs from them must be done within the store's lock. 2002-02-13 16:58:05 +00:00
relyea%netscape.com
2453c05e6e Bug 120651: Memory leaks in PK11_GetCertList.
1) Fix leaks in error paths (bfind.c -- found by inspection).
2) Don't allocate hash table data out of the arena. PL_Hash grows and shrinks
the hash buckets as necessary. In arenas they will just grow.
3) Don't allocate temparary locks out of the global instance arena pool.
2002-02-13 02:26:47 +00:00
jpierre%netscape.com
7716bf30c8 Fix for 125143 - allow modutil to report PKCS#11 library load failure errors 2002-02-13 01:43:10 +00:00
kaie%netscape.com
d092e45efa b=124241 Remove all fixed size attributes from XUL
r=rangansen sr=hewitt
2002-02-12 23:16:07 +00:00
wtc%netscape.com
4beb80b857 Bugzilla bug 125102: six files in mozilla/security/nss/lib/ckfw/builtins
got renamed.
2002-02-12 22:51:09 +00:00
sonja.mirtitsch%sun.com
58e4856539 fixed returncode after modification in error.h 2002-02-12 18:34:35 +00:00
wtc%netscape.com
ed9c8f445a Bugzilla bug 112198: on Mac OS X (Darwin), we need to run 'ranlib' on a
static library after renaming it.  This is not necessary but harmless on
other platforms.  The patch is contributed by Javier Pedemonte
<pedemonte@alimni.utexas.net>.  r=wtc,cls.
2002-02-12 15:21:26 +00:00
jpierre%netscape.com
a5c73d7696 Reset NSPR error text before adding the module to make sure we aren't getting some previous error 2002-02-12 04:25:15 +00:00
jpierre%netscape.com
4a5d5b109f 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 2002-02-12 04:09:21 +00:00
wtc%netscape.com
232cdb0fbc Bugzilla bug 114748: deleted unnecessary EXTRA_LIBS augmentation. The
zlib and jar libs are already added to EXTRA_LIBS by ../platlibs.mk.
2002-02-12 02:01:03 +00:00
relyea%netscape.com
e3552493a8 Load all slots into the trust domain, even if the tokens are empty.
Fix problems with the token caching code when tokens are removed.
2002-02-12 01:33:41 +00:00
ian.mcgreer%sun.com
bbabfda7e9 bug 124082, don't change trust of existing CA certs during PKCS#12 import 2002-02-12 00:38:16 +00:00
ian.mcgreer%sun.com
ffce9a0860 bug 124446, thread safety issues with static oid hashtable.
r=wtc
2002-02-11 23:12:00 +00:00
ian.mcgreer%sun.com
6958bd9af8 NSSCryptoContext_ImportCertificate cannot inform the caller that the cert already exists as a temp cert, is is necessary to work around this in CERT_NewTempCertificate by doing a lookup on the cert after it was imported.
r=relyea
2002-02-11 22:12:01 +00:00
kirk.erickson%sun.com
abbde77e08 Commented SlotStr with information what what locks protect what. 2002-02-11 20:14:05 +00:00
nelsonb%netscape.com
42fdae57e1 Make NSS 3.4 build as part of mozilla on OS/2. Bug 114748.
Patch supplied by Javier Pedemonte.
2002-02-11 05:48:37 +00:00
wtc%netscape.com
2cb1de5abe Bugzilla bug 112198: On Darwin we must link libnssckbi.dylib with -bundle
so that we can load it correctly.  Thanks to Brian Ryner for the patch.
2002-02-10 06:18:17 +00:00
wtc%netscape.com
da15146da7 Bugzilla bug 112198: Port NSS to Mac OS X (Darwin). The patch is
contributed by Javier Pedemonte <pedemonte@alumni.utexas.net>.
Modified Files:
	coreconf/config.mk coreconf/nsinstall/nsinstall.c
	coreconf/nsinstall/pathsub.c nss/lib/freebl/unix_rand.c
	nss/lib/ssl/unix_err.c
2002-02-10 05:24:49 +00:00
wtc%netscape.com
52ade1c793 Define DARWIN instead of XP_MACOSX. 2002-02-09 03:26:51 +00:00
wtc%netscape.com
e4d2b9a314 Bugzilla bug 112198: added Darwin.mk. This file is contributed by
Javier Pedemonte <pedemonte@alumni.utexas.net>, based on the NSPR file.
2002-02-09 02:21:27 +00:00
javi%netscape.com
b1680cb442 Give fragment names to the 2 targets. Will help with Talkback. 2002-02-09 00:15:57 +00:00
ian.mcgreer%sun.com
4edd6cfd21 localize the adding of cert references to one function to save an iteration, add two NULL pointer checks 2002-02-08 21:47:05 +00:00
wtc%netscape.com
a07e28ee9a Accidentally deleted PK11_GetSymKeyNickname in my previous checkin. 2002-02-08 19:50:07 +00:00
wtc%netscape.com
c314c19f6d Checked in Jamie's patches for
bug 124232: export SECKEY_DestroyPublicKeyLis; and
bug 124233: add new function PK11_GetNextSymKey.
Also fixed two problems in nss.def.
Modified files: nss/nss.def pk11wrap/pk11func.h pk11wrap/pk11skey.c
2002-02-08 19:42:40 +00:00
seawood%netscape.com
ebbdfa7c68 Backing out fix for win32 gmake static bustage until we figure out how to resolve bug 114748 for OS/2. Should fix current OS/2 bustage. 2002-02-08 19:17:37 +00:00
ian.mcgreer%sun.com
338b4d1c54 as with the cache, a search by cert DER should crack the DER into issuer and serial, then index the hash directly, as opposed to iteration 2002-02-08 16:26:07 +00:00
ian.mcgreer%sun.com
8930954284 bug 124268, usage statement for dump chain option 2002-02-08 15:22:54 +00:00
ian.mcgreer%sun.com
3296ff5ffb bug 124189, signtool hangs 2002-02-08 15:13:13 +00:00
seawood%netscape.com
5871ae6f2d Use @ so that regchrome commands aren't echoed.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #124328 r=cls
2002-02-08 08:30:30 +00:00
wtc%netscape.com
b93c9b751a Added SunOS5.10.mk for Solaris 10. 2002-02-08 06:15:24 +00:00
seawood%netscape.com
bfd2d230fb OS/2 & Win32 non-gcc builds require that you link against their import library instead of directly against a shared library. Fixing static build bustage.
Use the centralized NSS_LIBS rather than explicitly writing out each NSS lib when linking.
2002-02-08 06:04:05 +00:00
wtc%netscape.com
a972f0ed13 Bugzilla bug 124318: do not link with -lsoftokn3 explicitly. Use the
-rpath-link linker option on Linux to find libsoftokn3.so.
2002-02-08 03:15:40 +00:00
ian.mcgreer%sun.com
cf2e1cd363 bug 124309, fix various issues with the cache/temp store and thread safety. Is one line different than the patch on the bug, the one line seemed to fix the reported crash. 2002-02-08 02:51:41 +00:00
sonja.mirtitsch%sun.com
7a62a90f8e script to clean up old tinderbox QA 2002-02-08 02:12:21 +00:00
sonja.mirtitsch%sun.com
6882942b67 QAstatus file now made at the right place (global Exit()) and putting
killed info in as well
partial fix for 122632 r=wtc
2002-02-08 01:50:26 +00:00
bishakhabanerjee%netscape.com
fad9c854e8 Patch for bug 119368: SECU_PrintError prints decimal error code now if
unknown error
2002-02-08 01:20:04 +00:00
sonja.mirtitsch%sun.com
562719f774 removed compiler workshop 5 marker bug# 124256 r=nelsonb 2002-02-08 00:43:18 +00:00
relyea%netscape.com
9c6d49165a Bug 120651: Stop up memory leaks in the built-in token. We are slowly leaking
memory in arenas by allocating temporary objects out of permanment arenas.

Also rename file sin the builtins directory that conflict with it's parent.

xxxxx.c -> bxxxx.c except instance.c becomes binst.c
2002-02-08 00:10:07 +00:00
ian.mcgreer%sun.com
c60a4bd7b4 bug 124268, -P is used twice 2002-02-07 22:28:04 +00:00
ian.mcgreer%sun.com
c20c215bdb This is a revision of the patch shown in bug 122907. It should fix the leakage seen with client auth. It is needed either way, as NSS 3.3 always checked for pre-existing temp certs before creating a new one. 2002-02-07 14:58:05 +00:00
wtc%netscape.com
3bfefc2636 Bugzilla bug 119376: initialize a local variable to eliminate a compiler
warning.
2002-02-07 01:57:48 +00:00
wtc%netscape.com
4f95c4463a Bugzilla bug 119376: fixed the uninitialized variable 'rv' in
rsa_PrivateKeyOp.
2002-02-07 01:00:31 +00:00
relyea%netscape.com
9c46c55eb3 Identify certs that have no trust as CA's if they have the right settings 2002-02-07 00:50:47 +00:00
ian.mcgreer%sun.com
6b3e8a8041 another misused arena 2002-02-06 23:11:08 +00:00
kaie%netscape.com
6f0fffae1c b=122961 Fix sending encrypted mail
r=relyea sr=alecf
2002-02-06 20:38:58 +00:00
ian.mcgreer%sun.com
6d38eae938 Don't waste time searching on tokens for trust of a temp cert. It can only be found in the temp store. 2002-02-06 20:18:18 +00:00
ian.mcgreer%sun.com
a51d0334fd cleanup shutdown leak 2002-02-06 19:58:54 +00:00
ian.mcgreer%sun.com
feba509c51 PK11_VerifyRecover leaks a slot reference, this fixes it.
r=relyea
2002-02-06 19:21:20 +00:00
seawood%netscape.com
32e0e62d5e Link against the import lib on win32 and not the dll itself. 2002-02-06 16:27:01 +00:00
wtc%netscape.com
6305bdaa4e Bugzilla bug 120003: support OpenUNIX 8 build. Thanks to Hiram Clawson
<hiramc@caldera.com> for contributing the patch.
Modified file: config.mk
Added file: OpenUNIX.mk
2002-02-06 14:29:38 +00:00