12 Commits

Author SHA1 Message Date
wtc%netscape.com
16ce983004 Bugs 166734 and 166785: fixed compiler warnings reported by gcc on Linux.
The patch for this checkin is attached to bug 166785.


git-svn-id: svn://10.0.0.236/trunk@128926 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 00:27:52 +00:00
relyea%netscape.com
ccff9eabc4 treat lastTime of 0 as never having checked (not within the interval).
git-svn-id: svn://10.0.0.236/trunk@124830 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 04:40:35 +00:00
relyea%netscape.com
b64d478e29 Don't decode or extract trust for certs if we are just getting the nicknames -- particularly for user certs.
git-svn-id: svn://10.0.0.236/trunk@123959 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 22:36:59 +00:00
relyea%netscape.com
dbfdef4a37 Reset the cert cache and clobber cert handles on token insertion an removal
git-svn-id: svn://10.0.0.236/trunk@123244 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 21:40:43 +00:00
relyea%netscape.com
ae88814fc8 Fix spelling error.
git-svn-id: svn://10.0.0.236/trunk@121952 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:23:33 +00:00
ian.mcgreer%sun.com
57c0f959ce fix shutdown leaks
git-svn-id: svn://10.0.0.236/trunk@119622 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 17:22:13 +00:00
relyea%netscape.com
034136c5db 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).


git-svn-id: svn://10.0.0.236/trunk@119557 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 19:09:01 +00:00
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
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
ian.mcgreer%sun.com
dbcf2c42b3 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.


git-svn-id: svn://10.0.0.236/trunk@118136 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 20:00:28 +00:00
relyea%netscape.com
dd1d27c432 Clean up compilier warnings on Solaris and Linux, most particularly:
1) Implicit declaration of function.
2) Possibly unitialized variables.

These warnings have indicated some real problems in the code, so many changes
are not just to silence the warnings, but to fix the problems. Others were
inocuous, but the warnings were silenced to reduce the noise.


git-svn-id: svn://10.0.0.236/trunk@109938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:36:25 +00:00
relyea%netscape.com
162c530b16 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.


git-svn-id: svn://10.0.0.236/trunk@107628 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 00:15:51 +00:00