nicolson%netscape.com
7ab3c4014b
fixes to make it work better on windows.
...
git-svn-id: svn://10.0.0.236/trunk@115127 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 01:23:12 +00:00
wtc%netscape.com
a07081d36e
Fixed misspelling.
...
git-svn-id: svn://10.0.0.236/trunk@115123 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 00:06:14 +00:00
wtc%netscape.com
5ec3d3684a
Bugzilla bug 125149: prevent the session ID count component of the session
...
ID from overflowing and corrupting the slot index component. Do a lookup
in the session hash table to make sure the session id is not in use before
adding it to the table. r=relyea.
Modified files: pkcs11.c pkcs11i.h
git-svn-id: svn://10.0.0.236/trunk@115121 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 23:59:35 +00:00
wtc%netscape.com
34ff13e6c2
nscSlotHashTable is not protected by a lock, so we need to use
...
PL_HashTableLookupConst to do the lookups. r=mcgreer. This bug is
discussed in bug 125149 but is not the main topic of that bug.
git-svn-id: svn://10.0.0.236/trunk@115120 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 23:53:45 +00:00
kirk.erickson%sun.com
994e815065
Added tokenIDCount, and tokenHashTable to comments about objectLock.
...
git-svn-id: svn://10.0.0.236/trunk@115108 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 18:05:52 +00:00
dbragg%netscape.com
ecdd4eb6af
Updating the localeVersion to 0.9.9. Fixes bug 126240. r=tao, sr=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@115013 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:18:10 +00:00
wtc%netscape.com
0a7f3ffdbb
Bugzilla bug 124952: removed the "depend->clean" hack for NSS 3.4 landing.
...
Modified files: Makefile.in security/manager/Makefile.in
security/nss/makefile.win
git-svn-id: svn://10.0.0.236/trunk@114934 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:03:07 +00:00
seawood%netscape.com
0950ea9ade
Set NSS_LIBS in config.mk. Use "-L<dir> -l<blah>" to link instead of paths to actual shared libraries on unix platforms.
...
r=rjesup@wgate.com ,wtc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114876 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 03:00:08 +00:00
nelsonb%netscape.com
655e93d84c
Fix two logic errors reported as warnings on windows. Bug 110187
...
git-svn-id: svn://10.0.0.236/trunk@114865 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:06:25 +00:00
sfraser%netscape.com
c068f535fe
Fix for bug 121952 -- make PR_ConnectContinue work on Mac, re-enabling non-blocking connects. r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@114854 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:10:06 +00:00
kaie%netscape.com
46ecb3be02
b=115010 Implement "Message Security Info" when reading S/Mime messages.
...
(includes b=115209 Only care for outermost signing/encryption level)
r=javi/ducarroz sr=mscott
git-svn-id: svn://10.0.0.236/trunk@114801 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:36:30 +00:00
kaie%netscape.com
e0498fea57
b=125553 fix wrong string usage
...
r=javi rs=blizzard
git-svn-id: svn://10.0.0.236/trunk@114793 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 13:15:56 +00:00
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