3131 Commits

Author SHA1 Message Date
ian.mcgreer%sun.com
bfdfb2a5be re-sync the trust domain cache with token insertion/removal
git-svn-id: svn://10.0.0.236/trunk@119434 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 23:06:44 +00:00
nicolson%netscape.com
e470ff6268 JSS 3.2 features check-in.
git-svn-id: svn://10.0.0.236/trunk@119432 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 22:42:05 +00:00
ian.mcgreer%sun.com
2f30d58738 * make sure the token cache returns failure in overflow case
* change internal module trust order again, builtins uses 100, and internal module must come first


git-svn-id: svn://10.0.0.236/trunk@119415 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 19:30:12 +00:00
ian.mcgreer%sun.com
aabd47f4fc try again, the default is 50 so the internal module must be higher
git-svn-id: svn://10.0.0.236/trunk@119414 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 19:19:33 +00:00
ian.mcgreer%sun.com
b9e6962325 make sure the internal module defaults to trust order > 50
git-svn-id: svn://10.0.0.236/trunk@119413 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 19:01:45 +00:00
ian.mcgreer%sun.com
782014ef9d improve synchronization between the token state and token cache operations
git-svn-id: svn://10.0.0.236/trunk@119408 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 17:32:22 +00:00
ian.mcgreer%sun.com
88d5adeca3 Only fall back to email search if the "nickname" has an @ character. This is because email searches will not go through the cache, so should be avoided if possible.
git-svn-id: svn://10.0.0.236/trunk@119406 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 16:22:31 +00:00
ian.mcgreer%sun.com
bafa34ec88 Fixes for smart card cache. Don't do cache searches by email address, since GetAttributeValue does not set that field. Handle removal correctly for item at tail of list. Don't search token after a successful cache search that returned zero hits.
git-svn-id: svn://10.0.0.236/trunk@119405 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 16:14:13 +00:00
kaie%netscape.com
816a215e41 b=137154 PSM needs to call SSL_ClearSessionCache before switching profiles
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119324 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:25:26 +00:00
jpierre%netscape.com
862378ca25 Fix for 138084 - free slot list if NSC_Initialize fails
git-svn-id: svn://10.0.0.236/trunk@119297 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 20:54:22 +00:00
ian.mcgreer%sun.com
88c21a0f77 catch non-present tokens before searching them
git-svn-id: svn://10.0.0.236/trunk@119290 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:37:12 +00:00
ian.mcgreer%sun.com
ce6615c3cf two fixes for certs with multiple instances
git-svn-id: svn://10.0.0.236/trunk@119286 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:26:17 +00:00
relyea%netscape.com
58bccc96dd Don't crash if we try to get the name of a non-existant token.
git-svn-id: svn://10.0.0.236/trunk@119278 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 17:54:30 +00:00
relyea%netscape.com
0e6eb41035 Remember the nickname in the cache entry so that we can always free it when the cert goes away, even if the nickname has changes.
Also, initialize subjectList to NULL at the beginning, so we don't try to add nickname when we aren't supposed to.


git-svn-id: svn://10.0.0.236/trunk@119276 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 17:52:55 +00:00
relyea%netscape.com
71202164a8 We need to make sure we always return a trust object, even if that object says
there is no trust.


git-svn-id: svn://10.0.0.236/trunk@119275 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 17:50:40 +00:00
ian.mcgreer%sun.com
2f83527b52 landing new smart card cache, bug 135429
git-svn-id: svn://10.0.0.236/trunk@119274 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 17:30:05 +00:00
nicolson%netscape.com
e9a1d34759 update NSS version.
git-svn-id: svn://10.0.0.236/trunk@119269 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 14:33:16 +00:00
wtc%netscape.com
e520ea685d Bugzilla bug 126087: removed symKey->refLock because we are using atomic
routines on symKey->refCount now.  Declare symKey->refCount as PRInt32 to
match the prototype of PR_AtomicIncrement/Decrement.
Modified files: pk11skey.c secmodti.h


git-svn-id: svn://10.0.0.236/trunk@119189 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 01:03:23 +00:00
jgmyers%netscape.com
ecd4736934 Remove unneeded ForceHandshake code which broke IMAP/SSL over SOCKS: bug 133434 r=kaie@netscape.com sr=brendan@mozilla.org a=asa
git-svn-id: svn://10.0.0.236/trunk@119169 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:49:33 +00:00
wtc%netscape.com
13bd4b2242 Bugzilla bug 133584: PK11_SaveSMimeProfile also needs to free free_slot if
it returns on error.


git-svn-id: svn://10.0.0.236/trunk@119165 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:40:07 +00:00
dbragg%netscape.com
cf94efafad Regular milestone update of localeVersion values to 1.0.0. Bug 126785. r=tao, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@119159 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:19:10 +00:00
sonja.mirtitsch%sun.com
9523e62873 changes for jdk 1.4; and mccrel move
git-svn-id: svn://10.0.0.236/trunk@119144 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 20:57:42 +00:00
relyea%netscape.com
8eb6106686 Don't free the temp secmod.db name until we are through using it.
git-svn-id: svn://10.0.0.236/trunk@119044 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:24:34 +00:00
ian.mcgreer%sun.com
7c1a3c929d bug 63815, AIX compiler fails to build ckhelper.c in debug mode
git-svn-id: svn://10.0.0.236/trunk@118990 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 21:04:00 +00:00
ian.mcgreer%sun.com
d1d308ecd3 fix bbroken solaris x86 build
git-svn-id: svn://10.0.0.236/trunk@118988 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 16:20:39 +00:00
ian.mcgreer%sun.com
f87d824279 bug 135521, change cert lookups on tokens to be actual finds instead of traversals
git-svn-id: svn://10.0.0.236/trunk@118986 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 15:22:11 +00:00
ian.mcgreer%sun.com
7f7995e833 fix a cert reference leak in strsclnt
git-svn-id: svn://10.0.0.236/trunk@118983 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 14:24:15 +00:00
kaie%netscape.com
c48807e87c b=136908 Make CRL manager UI work again.
r=kaie sr=ben


git-svn-id: svn://10.0.0.236/trunk@118978 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 12:18:13 +00:00
kirk.erickson%sun.com
7d73417a6c Resolves 126087. Backed out of slot->keyCount atomic instructions.
git-svn-id: svn://10.0.0.236/trunk@118955 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 14:07:12 +00:00
ian.mcgreer%sun.com
087cfad2e3 fix error statement
git-svn-id: svn://10.0.0.236/trunk@118867 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 19:17:48 +00:00
relyea%netscape.com
50406c66c5 Bug 133584: Fix reference leaks which prevent shutdown in NSS and in the tests.
Debug builds can verify correct operation by setting NSS_STRICT_SHUTDOWN, which
will cause an assert if shutdown is called but not all the modules are freed (which
means a slot, key, or cert reference has been leaked).


git-svn-id: svn://10.0.0.236/trunk@118866 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 19:05:21 +00:00
ian.mcgreer%sun.com
0b26715a58 bug 136806, don't authenticate to friendly slots when adding certs
git-svn-id: svn://10.0.0.236/trunk@118865 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 18:07:49 +00:00
ian.mcgreer%sun.com
dd1f8aa30b testing theory that unmatched atomic increment/decrement is causing occasional tinderbox failures. See bug 126087.
git-svn-id: svn://10.0.0.236/trunk@118861 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 15:51:11 +00:00
kaie%netscape.com
087ba91b66 b=102633 Changed cipher prefs dialog.
Allow the user to enable additional ciphers.
Disable two cipher suites that are no longer in use (said the NSS team).
r=javi/nelsonb/cotter sr=alecf


git-svn-id: svn://10.0.0.236/trunk@118831 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 04:44:29 +00:00
kaie%netscape.com
77d80e392f b=119418 Fix handling of opaque signed S/Mime messages.
Also fixes some other S/Mime issues, as described in the bug.
r=ddrinan/ducarroz/darin sr=alecf


git-svn-id: svn://10.0.0.236/trunk@118829 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 04:26:40 +00:00
relyea%netscape.com
72e0339f45 Update the version field in the handle when doing the automatic update.
git-svn-id: svn://10.0.0.236/trunk@118827 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 03:43:34 +00:00
ian.mcgreer%sun.com
2990f05d49 additional fix for the patch from bug 126087. Must not set symKey->slot to NULL after leaving the freelist lock, or somebody else might pick up the symKey from the freelist, have their slot NULL'ed, and whamo..
git-svn-id: svn://10.0.0.236/trunk@118808 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 23:05:38 +00:00
ian.mcgreer%sun.com
5d4cebecf9 key should be freed when refcount == 0 after decrement. See bug 126087.
git-svn-id: svn://10.0.0.236/trunk@118779 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 19:15:31 +00:00
kaie%netscape.com
329b219d40 b=102633 Allow the user to enable additional ciphers, dynamically obtaining a list of ciphers from NSS.
Disable support for two ciphers that are no longer in use.
r=javi/nelsonb/cotter sr=alecf


git-svn-id: svn://10.0.0.236/trunk@118726 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 05:07:09 +00:00
kaie%netscape.com
939f120b0d b=119481 Fix various unitialized variables.
r=kaie/javi sr=kin


git-svn-id: svn://10.0.0.236/trunk@118725 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 05:01:29 +00:00
kaie%netscape.com
3e6aaf62a0 b=118319 Fix memory leak.
r=javi/wtc sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@118721 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 04:35:08 +00:00
kaie%netscape.com
d053029b9b b=119481 Fix various unitialized variables.
r=kaie/javi sr=kin


git-svn-id: svn://10.0.0.236/trunk@118720 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 04:31:53 +00:00
kaie%netscape.com
10548d1ef3 b=129740 Fix client auth with profiles migrated from Communicator.
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@118719 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 04:24:20 +00:00
kaie%netscape.com
4b2f42cec0 b=132543 Fix crash when downloading CRL
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@118718 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 04:21:18 +00:00
relyea%netscape.com
9753092f2e bug 128586 (and other) importing non-NSS pkcs#12 files.
We need to decode the privatekeyinfo attributes if they exist.


git-svn-id: svn://10.0.0.236/trunk@118692 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:59:43 +00:00
nelsonb%netscape.com
14d0da3976 Add enum names for use in forward declarations.
git-svn-id: svn://10.0.0.236/trunk@118674 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 23:27:50 +00:00
wtc%netscape.com
78321f21cd Bugzilla bug 136625: prevent pk11_cert_collect from storing NULL in the
certData.certs array so that pk11_searchCertsAndTrust won't deference a
NULL pointer.  r=relyea.


git-svn-id: svn://10.0.0.236/trunk@118632 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 17:56:52 +00:00
wtc%netscape.com
6f841868b3 Bugzilla bug 119418: export NSS_CMSMessage_IsEncrypted.
git-svn-id: svn://10.0.0.236/trunk@118631 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 17:54:02 +00:00
ian.mcgreer%sun.com
1a75fc7207 bug 135871, CERT_ImportCerts not storing temp certs
r=relyea


git-svn-id: svn://10.0.0.236/trunk@118578 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 23:46:57 +00:00
nicolson%netscape.com
8597a98d9b login to token before importing private key.
git-svn-id: svn://10.0.0.236/trunk@118558 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 19:23:49 +00:00