3007 Commits

Author SHA1 Message Date
wtc%netscape.com
6894dfce28 Define DARWIN instead of XP_MACOSX.
git-svn-id: svn://10.0.0.236/trunk@114128 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 03:26:51 +00:00
wtc%netscape.com
148b4dad29 Bugzilla bug 112198: added Darwin.mk. This file is contributed by
Javier Pedemonte <pedemonte@alumni.utexas.net>, based on the NSPR file.


git-svn-id: svn://10.0.0.236/trunk@114120 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:21:27 +00:00
javi%netscape.com
93c2902cb0 Give fragment names to the 2 targets. Will help with Talkback.
git-svn-id: svn://10.0.0.236/trunk@114100 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 00:15:57 +00:00
ian.mcgreer%sun.com
efbebe51d0 localize the adding of cert references to one function to save an iteration, add two NULL pointer checks
git-svn-id: svn://10.0.0.236/trunk@114049 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 21:47:05 +00:00
wtc%netscape.com
675ad3d2ce Accidentally deleted PK11_GetSymKeyNickname in my previous checkin.
git-svn-id: svn://10.0.0.236/trunk@114046 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 19:50:07 +00:00
wtc%netscape.com
1b612ca6aa 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


git-svn-id: svn://10.0.0.236/trunk@114045 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 19:42:40 +00:00
seawood%netscape.com
133ae214a8 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.
git-svn-id: svn://10.0.0.236/trunk@114044 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 19:17:37 +00:00
ian.mcgreer%sun.com
50781d61b7 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
git-svn-id: svn://10.0.0.236/trunk@114040 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 16:26:07 +00:00
ian.mcgreer%sun.com
554c4ef86a bug 124268, usage statement for dump chain option
git-svn-id: svn://10.0.0.236/trunk@114031 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:22:54 +00:00
ian.mcgreer%sun.com
2eec8de598 bug 124189, signtool hangs
git-svn-id: svn://10.0.0.236/trunk@114028 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:13:13 +00:00
seawood%netscape.com
3df2ef69fd Use @ so that regchrome commands aren't echoed.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #124328 r=cls


git-svn-id: svn://10.0.0.236/trunk@114012 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 08:30:30 +00:00
wtc%netscape.com
55b619707d Added SunOS5.10.mk for Solaris 10.
git-svn-id: svn://10.0.0.236/trunk@114004 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 06:15:24 +00:00
seawood%netscape.com
3985e6a1d7 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.


git-svn-id: svn://10.0.0.236/trunk@114003 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 06:04:05 +00:00
wtc%netscape.com
6a055b3707 Bugzilla bug 124318: do not link with -lsoftokn3 explicitly. Use the
-rpath-link linker option on Linux to find libsoftokn3.so.


git-svn-id: svn://10.0.0.236/trunk@113989 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:15:40 +00:00
ian.mcgreer%sun.com
a79c662939 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.
git-svn-id: svn://10.0.0.236/trunk@113985 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 02:51:41 +00:00
sonja.mirtitsch%sun.com
95fbad9556 script to clean up old tinderbox QA
git-svn-id: svn://10.0.0.236/trunk@113978 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 02:12:21 +00:00
sonja.mirtitsch%sun.com
4153a38edf QAstatus file now made at the right place (global Exit()) and putting
killed info in as well
partial fix for 122632 r=wtc


git-svn-id: svn://10.0.0.236/trunk@113974 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:50:26 +00:00
bishakhabanerjee%netscape.com
897849a2c9 Patch for bug 119368: SECU_PrintError prints decimal error code now if
unknown error


git-svn-id: svn://10.0.0.236/trunk@113968 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:20:04 +00:00
sonja.mirtitsch%sun.com
7b61b41c04 removed compiler workshop 5 marker bug# 124256 r=nelsonb
git-svn-id: svn://10.0.0.236/trunk@113953 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:43:18 +00:00
relyea%netscape.com
303be3228e 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


git-svn-id: svn://10.0.0.236/trunk@113944 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:10:07 +00:00
ian.mcgreer%sun.com
73e7836ead bug 124268, -P is used twice
git-svn-id: svn://10.0.0.236/trunk@113910 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:28:04 +00:00
ian.mcgreer%sun.com
0c1df9e9f5 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.
git-svn-id: svn://10.0.0.236/trunk@113901 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 14:58:05 +00:00
wtc%netscape.com
920a4207ed Bugzilla bug 119376: initialize a local variable to eliminate a compiler
warning.


git-svn-id: svn://10.0.0.236/trunk@113860 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 01:57:48 +00:00
wtc%netscape.com
c2cd29e367 Bugzilla bug 119376: fixed the uninitialized variable 'rv' in
rsa_PrivateKeyOp.


git-svn-id: svn://10.0.0.236/trunk@113855 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 01:00:31 +00:00
relyea%netscape.com
04a97fd3e2 Identify certs that have no trust as CA's if they have the right settings
git-svn-id: svn://10.0.0.236/trunk@113853 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:50:47 +00:00
ian.mcgreer%sun.com
5f330b97de another misused arena
git-svn-id: svn://10.0.0.236/trunk@113840 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 23:11:08 +00:00
kaie%netscape.com
ab58030ec3 b=122961 Fix sending encrypted mail
r=relyea sr=alecf


git-svn-id: svn://10.0.0.236/trunk@113815 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:38:58 +00:00
ian.mcgreer%sun.com
65ffc39744 Don't waste time searching on tokens for trust of a temp cert. It can only be found in the temp store.
git-svn-id: svn://10.0.0.236/trunk@113813 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:18:18 +00:00
ian.mcgreer%sun.com
35a34cf0b2 cleanup shutdown leak
git-svn-id: svn://10.0.0.236/trunk@113812 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 19:58:54 +00:00
ian.mcgreer%sun.com
71c9e8cff5 PK11_VerifyRecover leaks a slot reference, this fixes it.
r=relyea


git-svn-id: svn://10.0.0.236/trunk@113810 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 19:21:20 +00:00
seawood%netscape.com
973ed77e6a Link against the import lib on win32 and not the dll itself.
git-svn-id: svn://10.0.0.236/trunk@113801 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 16:27:01 +00:00
wtc%netscape.com
5aed530d4b 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


git-svn-id: svn://10.0.0.236/trunk@113789 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 14:29:38 +00:00
kaie%netscape.com
8fb3ebdd31 Checkin related to NSS 3.4 landing. Temporarily causing Unix depend builds to clean NSS, making those builds work. This
patch will be removed shortly after landing. A similar patch for Windows is inside NSS.


git-svn-id: svn://10.0.0.236/trunk@113785 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 13:40:18 +00:00
kaie%netscape.com
87d8f6db3b b=116334 NSS 3.4 landing
r=cls/wtc sr=kin/simon


git-svn-id: svn://10.0.0.236/trunk@113784 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 13:31:07 +00:00
sonja.mirtitsch%sun.com
0dc347971b changing the way to figure out if selfserv is still present from ps to
kill -0 so we might be able to debug the disapearing selfserv problem
better


git-svn-id: svn://10.0.0.236/trunk@113766 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 05:34:16 +00:00
sonja.mirtitsch%sun.com
45202711e5 start of fix for 122632 to avoid overflows
git-svn-id: svn://10.0.0.236/trunk@113758 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 04:02:46 +00:00
sonja.mirtitsch%sun.com
aa9b84f0e9 calling the selfserv now with -y to get the certs at the end, adjusted clients and wait times
git-svn-id: svn://10.0.0.236/trunk@113740 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 02:51:59 +00:00
relyea%netscape.com
d7d46c347b Fix memory leak in hash table keys. Hash tables stay around forever.
keys go into and out of the table. the old code allocated the keys from
the hash table's arena, so they would grow without bounds. Now the keys
are allocated from the heap, and get freed when they are expunged from the
table.


git-svn-id: svn://10.0.0.236/trunk@113738 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 02:42:08 +00:00
wtc%netscape.com
bab3530e7f Bugzilla bug 119340: write the "selfserv: received SIGTERM" message to
standard output (fd 1) instead of standard error (fd 2) because the test
script writes its output to standard output (with the echo command).


git-svn-id: svn://10.0.0.236/trunk@113735 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 01:38:06 +00:00
sonja.mirtitsch%sun.com
f23d8010bb debugging info for the intermittant multiple recipient problem on linux
git-svn-id: svn://10.0.0.236/trunk@113731 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 01:15:51 +00:00
ian.mcgreer%sun.com
528032c847 fixes for bugs 123479 and 123081 (possibly others). break up arena usage in hash table entries for the temp store and cert cache.
git-svn-id: svn://10.0.0.236/trunk@113727 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 23:55:43 +00:00
wtc%netscape.com
dfc55d137a Bugzilla bug 121523: checked in Kirk Erickson's session lock fix.
Modified Files:
	lib/pk11wrap/pk11slot.c lib/softoken/pkcs11.c
	lib/softoken/pkcs11i.h lib/softoken/pkcs11u.c


git-svn-id: svn://10.0.0.236/trunk@113726 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 23:41:36 +00:00
ian.mcgreer%sun.com
6bdc28b0d8 place where iterator was not freed
git-svn-id: svn://10.0.0.236/trunk@113721 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 22:32:38 +00:00
jpierre%netscape.com
101faf53fc Fix for 122907 - patch to disable arena free lists with environment variable
git-svn-id: svn://10.0.0.236/trunk@113720 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 22:20:43 +00:00
ian.mcgreer%sun.com
bfcd9cb632 some of the output in bug 123081 shows potential leaks around iterators, since the iterator is explicitly freed allocate it in its own block to avoid this
git-svn-id: svn://10.0.0.236/trunk@113719 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 22:08:12 +00:00
ian.mcgreer%sun.com
51a288738c cleanup suggested by review by Nelson
git-svn-id: svn://10.0.0.236/trunk@113674 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 03:53:50 +00:00
relyea%netscape.com
c7a84be240 Fix error path, only free arena is one was allocated.
git-svn-id: svn://10.0.0.236/trunk@113662 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:47:01 +00:00
cathleen%netscape.com
ec77313291 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
nelsonb%netscape.com
a9cd5beaa8 Plug one of the leaks reported in bugzilla bug 123081
git-svn-id: svn://10.0.0.236/trunk@113642 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 23:15:11 +00:00
ian.mcgreer%sun.com
3e0d2561a3 plug leak found doing client auth, move freeing of cert's slot down a level in case the cert was not made external
git-svn-id: svn://10.0.0.236/trunk@113640 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 23:04:11 +00:00