nicolson%netscape.com
fdae976915
Initial checkin of the keystore code. It's not complete yet, but
...
I want others to be able to see it and comment on it.
git-svn-id: svn://10.0.0.236/trunk@115355 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 04:19:33 +00:00
relyea%netscape.com
e2ffd199c0
When using global params, noCertDB implies noKeyDB as well bug 127312
...
git-svn-id: svn://10.0.0.236/trunk@115347 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 02:28:21 +00:00
relyea%netscape.com
99db5dd573
CRL issues: 1) return url when finding and importing CRL's.
...
2) fix CERT_ImportCRL so it actually works.
NOTE: Calls of SEC_NewCrl() should verify the signature on the CRL before
importing!.
git-svn-id: svn://10.0.0.236/trunk@115345 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 02:02:53 +00:00
oeschger%netscape.com
8599fca924
restore context-sensitive help to ui: new help file to include and updated syntax, bug=124902, a=asa/drivers, sr=alecf, r=andreww, r=ssaux for security ui
...
git-svn-id: svn://10.0.0.236/trunk@115343 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 01:14:09 +00:00
relyea%netscape.com
eb8490a832
Bug 125728 truncate utf8 correctly in the pkcs11 string.
...
git-svn-id: svn://10.0.0.236/trunk@115338 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:33:42 +00:00
relyea%netscape.com
6977d8c974
Changes to allow protected pin path to work in applications that code for it.
...
git-svn-id: svn://10.0.0.236/trunk@115337 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:28:50 +00:00
nelsonb%netscape.com
2b8a7de572
Change ssl_GetPeerInfo to no longer assume that an address is IPV6 if
...
it's not IPv4. Fixes a bug on systems that don't support IPV6, but
do support other address families.
git-svn-id: svn://10.0.0.236/trunk@115336 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:28:15 +00:00
wtc%netscape.com
94bb41db11
Removed the temporary depend->clean hack for NSS 3.4 update.
...
Modified Files:
Makefile.in security/manager/Makefile.in
security/nss/makefile.win
git-svn-id: svn://10.0.0.236/trunk@115268 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 04:41:30 +00:00
wtc%netscape.com
ba96145cb0
Temporary hack for the NSS 3.4 update (BeOS port, etc.) Will remove
...
tomorrow.
Modified files: Makefile.in security/manager/Makefile.in
security/nss/makefile.win
git-svn-id: svn://10.0.0.236/trunk@115237 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 21:26:29 +00:00
seawood%netscape.com
a5df41d59b
Use blocking sockets for SSL connections since BeOS does not have support for nonblocking sockets.
...
Bug #70217 r=wtc a=shaver
git-svn-id: svn://10.0.0.236/trunk@115217 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 09:30:31 +00:00
wtc%netscape.com
52f5bfd019
Bugzilla bug 70217: ported NSS to BeOS. The patch is contributed by
...
Christopher Seawood <seawood@netscape.com>.
git-svn-id: svn://10.0.0.236/trunk@115206 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 04:23:30 +00:00
ian.mcgreer%sun.com
202313e65b
bug 125359, by default the ASN.1 en/decoder should treat all numbers as signed. But many source/target items desire unsigned integers (specifically, bignums in the crypto stuff), so implement an siUnsignedInteger type which notifies the en/decoder to handle the conversion.
...
r=nelsonb
git-svn-id: svn://10.0.0.236/trunk@115170 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 22:41:44 +00:00
nelsonb%netscape.com
4b069d41b2
Fix warning on Windows builds. Bug 104541.
...
git-svn-id: svn://10.0.0.236/trunk@115167 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 21:23:14 +00:00
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