2895 Commits

Author SHA1 Message Date
wtc%netscape.com
5f32ec59fc Bugzilla bug 125730: fixed OpenVMS build breakage. Thanks to Colin Blakes
<colin@theblakes.com> for the patch.
odified Files: sslmutex.c sslmutex.h sslsnce.c


git-svn-id: svn://10.0.0.236/trunk@114654 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:52:07 +00:00
relyea%netscape.com
3bf2f19204 Use timers to determine whether or not to do the smart card present checks
or not.

bob


git-svn-id: svn://10.0.0.236/trunk@114614 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 00:29:37 +00:00
jpierre%netscape.com
8aac793dd1 Fix OS/2 standalone NSS build which got broken after the fix for 104541
git-svn-id: svn://10.0.0.236/trunk@114613 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 00:10:24 +00:00
wtc%netscape.com
88629b5fca Bugzilla bug 112198: use the -dylib_file ld option to link the ssl3 and
smime3 dylibs and the NSS tools so that they can find the indirectly
referenced libsoftokn3.dylib.  Define and export DYLD_LIBRARY_PATH.  The
patch is contributed by Brian Ryner <bryner@netscape.com>. r=wtc,beard.
Modified Files:
	coreconf/Darwin.mk nss/cmd/platlibs.mk nss/lib/smime/config.mk
	nss/lib/ssl/config.mk nss/tests/common/init.sh


git-svn-id: svn://10.0.0.236/trunk@114612 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 23:38:47 +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
wtc%netscape.com
68e3ff3855 Bugzilla bug 125790: free the nickName and passwd strings
git-svn-id: svn://10.0.0.236/trunk@114607 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 21:53:25 +00:00
ian.mcgreer%sun.com
6c190a7dc1 clean up certs & keys for purify
git-svn-id: svn://10.0.0.236/trunk@114606 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 20:50:47 +00:00
relyea%netscape.com
ee5c92c39f Fix missing certs from the listing of all the certs in tokens with large cert caches (larger than 32).
git-svn-id: svn://10.0.0.236/trunk@114603 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 17:37:58 +00:00
relyea%netscape.com
c1bf43920f Implement SEC_NicknameConflicts().
git-svn-id: svn://10.0.0.236/trunk@114564 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:57:08 +00:00
javi%netscape.com
dcafbec72f Fix crash when looking up cert by nickname when the token on which
the cert is located is not plugged in.

Bug 125611


git-svn-id: svn://10.0.0.236/trunk@114562 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:50:28 +00:00
ian.mcgreer%sun.com
1523cf5acd bug 125263, race condition destroying temp certs
git-svn-id: svn://10.0.0.236/trunk@114555 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:10:07 +00:00
ian.mcgreer%sun.com
358f1a0a6a make listing of certs finish cleanly under purify
git-svn-id: svn://10.0.0.236/trunk@114510 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 18:02:30 +00:00
wtc%netscape.com
8d1678576d Bug 114748: now that NSS uses the same LIB_PREFIX as the Mozilla client,
removed the obsolete NSS_LIB_PREFIX. r=cls.  The patch was originally
contributed by Javier Pedemonte <pedemont@us.ibm.com>.
Modified Files:
	config/config.mk security/manager/Makefile.in
	security/manager/ssl/src/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@114509 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 15:29:22 +00:00
wtc%netscape.com
30fa280d76 Bug 122712: renamed cert_DecodeGeneralName as CERT_DecodeGeneralName.
git-svn-id: svn://10.0.0.236/trunk@114508 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 15:25:17 +00:00
kaie%netscape.com
25b555d7c3 b=99083 Polish cert display if field common name (CN) is not present
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114491 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 07:21:33 +00:00
wtc%netscape.com
0d23fb9c84 Bugzilla bug 122712: renamed cert_DecodeGeneralName to
CERT_DecodeGeneralName because we export this function from nss.def.
(The cert_ prefix suggests an internal function.)
Modified Files:
	lib/certdb/genname.c lib/certdb/genname.h lib/certdb/xconst.c
	lib/nss/nss.def


git-svn-id: svn://10.0.0.236/trunk@114471 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 02:53:20 +00:00
wtc%netscape.com
0ecadf23c7 Bugzilla bug 123938: renamed cert_EncodeGeneralName to
CERT_EncodeGeneralName.  Export CERT_EncodeGeneralName and
CERT_FindKeyUsageExtension from nss.def.  Have cmmfrec.c include
nssrenam.h to get __CERT_NewTempCertificate.
Modified Files:
	lib/certdb/genname.c lib/certdb/genname.h lib/certdb/xconst.c
	lib/crmf/cmmfchal.c lib/crmf/cmmfrec.c lib/nss/nss.def


git-svn-id: svn://10.0.0.236/trunk@114469 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 02:25:21 +00:00
relyea%netscape.com
a81513d4cf Fix UMR in the session info structure.
git-svn-id: svn://10.0.0.236/trunk@114461 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 01:12:51 +00:00
jpierre%netscape.com
de4794f2ad Fix for 125373 - crash in crlutil
git-svn-id: svn://10.0.0.236/trunk@114446 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:06:52 +00:00
ian.mcgreer%sun.com
025e636383 bug 125165, don't crash when the softoken fails to return attributes for a cert object
git-svn-id: svn://10.0.0.236/trunk@114429 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 21:09:15 +00:00
ian.mcgreer%sun.com
6074d9f973 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.
git-svn-id: svn://10.0.0.236/trunk@114401 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 16:58:05 +00:00
relyea%netscape.com
ce50f8dca2 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.


git-svn-id: svn://10.0.0.236/trunk@114367 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 02:26:47 +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
kaie%netscape.com
9e38649c04 b=124241 Remove all fixed size attributes from XUL
r=rangansen sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@114328 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 23:16:07 +00:00
wtc%netscape.com
e173fb6511 Bugzilla bug 125102: six files in mozilla/security/nss/lib/ckfw/builtins
got renamed.


git-svn-id: svn://10.0.0.236/trunk@114323 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:51:09 +00:00
sonja.mirtitsch%sun.com
7ebaecf2e1 fixed returncode after modification in error.h
git-svn-id: svn://10.0.0.236/trunk@114289 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 18:34:35 +00:00
wtc%netscape.com
45d429508d 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.


git-svn-id: svn://10.0.0.236/trunk@114283 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:21:26 +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
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
relyea%netscape.com
db650156c5 Load all slots into the trust domain, even if the tokens are empty.
Fix problems with the token caching code when tokens are removed.


git-svn-id: svn://10.0.0.236/trunk@114228 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:33:41 +00:00
ian.mcgreer%sun.com
0c3606cd66 bug 124082, don't change trust of existing CA certs during PKCS#12 import
git-svn-id: svn://10.0.0.236/trunk@114215 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:38:16 +00:00
ian.mcgreer%sun.com
db557442e8 bug 124446, thread safety issues with static oid hashtable.
r=wtc


git-svn-id: svn://10.0.0.236/trunk@114206 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 23:12:00 +00:00
ian.mcgreer%sun.com
0fd707f56a 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


git-svn-id: svn://10.0.0.236/trunk@114198 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 22:12:01 +00:00
kirk.erickson%sun.com
513f733351 Commented SlotStr with information what what locks protect what.
git-svn-id: svn://10.0.0.236/trunk@114193 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 20:14:05 +00:00
nelsonb%netscape.com
d2efb641d7 Make NSS 3.4 build as part of mozilla on OS/2. Bug 114748.
Patch supplied by Javier Pedemonte.


git-svn-id: svn://10.0.0.236/trunk@114184 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 05:48:37 +00:00
wtc%netscape.com
f0eee2f5b8 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.


git-svn-id: svn://10.0.0.236/trunk@114159 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 06:18:17 +00:00
wtc%netscape.com
52d63759fb 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


git-svn-id: svn://10.0.0.236/trunk@114158 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 05:24:49 +00:00
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