Patch from Kevin Coffman:
authorKen Raeburn <raeburn@mit.edu>
Thu, 5 Oct 2006 19:45:52 +0000 (19:45 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 5 Oct 2006 19:45:52 +0000 (19:45 +0000)
commitcd64019112f45b810e68be19e732d942483534c5
tree467c5da907b373fec4923bc10d1a799f9a94bd61
parentbb60d81bc95a35465ad2d1ee836c2a4ec0d64555
Patch from Kevin Coffman:

- adds a function to get ccache keycount
- uses it in two places
- fixes free problem if next_cred fails
- simplifies the clearcache function by using keyctl_clear

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18649 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/ccache/cc_keyring.c