Commit Graph
25 Commits
Author SHA1 Message Date
[email protected] e9b63532d4 Patch by [email protected]. Fix bug 260882 by clearing the valid
cache flag (named "searchedObjectType") even when the cache was empty.
2004-09-22 01:45:26 +00:00
[email protected] ab0b8c26a4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 15:03:26 +00:00
[email protected] 3af04d7723 Fix bug 204549. Properly handle memory allocation failures. 2003-09-23 20:47:43 +00:00
[email protected] feaf0ecf0c Bugzilla bug 214535: fixed a recursive dead lock on cache->lock. We must
not call nssSlot_IsTokenPresent while cache->lock is locked because
that function may call nssToken_Remove, which locks cache->lock.  r=mcgreer
2003-09-12 19:17:15 +00:00
[email protected] 3e313fa7c1 Change the function definitions in dev so that the ctags program will
produce valid tags from these sources.
2003-07-01 00:32:22 +00:00
[email protected] 70d9de34b3 Bug 204797: nssTokenObjectCache_Clear needs to lock the cache, otherwise
multiple threads could clear the cache at the same time after a token is
removed.
2003-05-10 14:19:04 +00:00
[email protected] 5df0fb35e4 Support SHA256, SHA384, and SHA512 hashes in NSS. 2002-12-12 06:05:45 +00:00
[email protected] 13763316b7 bug 166741, fixing bug in previous patches
r=wtc
2002-09-10 20:30:53 +00:00
[email protected] 76a1b9b6b3 Bug 167532: fixed a regression introduced by the previous checkin. 2002-09-10 05:10:53 +00:00
[email protected] 8d73986aba bug 166741, unitialized variables
r=wtc
2002-09-05 22:28:30 +00:00
[email protected] a7bcf9702f Fix for bug 137645 - cached certificate does not get its nickname updated after P12 import of matching user certificate 2002-05-20 23:21:39 +00:00
[email protected] 7c7a761df3 fix broken HPUX builds 2002-04-26 12:59:06 +00:00
[email protected] ff83263bc0 reorganize token cache so that cache entries for imported objects are created from the token, not from the user-supplied template 2002-04-25 19:33:47 +00:00
[email protected] fba85e0304 Don't crash if our cache entry is not found. 2002-04-25 00:45:42 +00:00
[email protected] 3f49099b9e Token and cert processing fixes:
1) use NewTempCert rather than DERDecode cert in all import cert cases.
When DERDecode cert is used, we may wind up with a cert that gets cleared
when we try to import it because it already in the cache. NewTempCert will
return the version that is in the cache.
   2) If we are returning the CAList, only return certs that are CA's
(not usercerts).
   3) Authenticate to all the tokens if necessary before we try to list
certs. (Stan code should eventually get automatic authentication calls in
the code itself).
   4) When looking up user certs, don't return those certs with the same
subject, but do not have any key material associated with them (that is
don't crash if we have old certs in our database without nicknames, but
match user certs on our smart cards).
   5) Save the nickname associated with our subject list in the temp
cache so we can correctly remove the entry even if the cert's nickname
changes (because of smart card insertions and removals, or because of
creation and deletions of our user cert).
2002-04-22 19:09:01 +00:00
[email protected] 5253a1aef3 overwrite old entry during import, so that changing trust works correctly 2002-04-22 15:21:06 +00:00
[email protected] 818dfb4d53 fix bugs in cert import with smart card cache 2002-04-22 14:14:44 +00:00
[email protected] e5580d3899 * 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
2002-04-19 19:30:12 +00:00
[email protected] 68239e6b80 improve synchronization between the token state and token cache operations 2002-04-19 17:32:22 +00:00
[email protected] a6d1496e7f 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. 2002-04-19 16:14:13 +00:00
[email protected] 4f962a8a75 landing new smart card cache, bug 135429 2002-04-18 17:30:05 +00:00
[email protected] 5ad7e1d773 fix bbroken solaris x86 build 2002-04-15 16:20:39 +00:00
[email protected] cdea974871 bug 135521, change cert lookups on tokens to be actual finds instead of traversals 2002-04-15 15:22:11 +00:00
[email protected] 61e3714d95 Land Stan changes to tip. Mostly header file / structure / API cleanup. Note
that these changes *do not* affect the current build, except for some minor edits.
2002-04-04 20:00:28 +00:00
[email protected] 42cf8e549f Land BOB_WORK_BRANCH unto the tip.
remove lots of depricated files.
move some files to appropriate directories (pcertdb *_rand
associated headers to soft token, for instance)
rename several stan files which had the same name as other nss files.
remove depricated functions.
2001-11-08 00:15:51 +00:00