Clean up krb5_get_credentials:
authorGreg Hudson <ghudson@mit.edu>
Fri, 25 Sep 2009 15:20:19 +0000 (15:20 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 25 Sep 2009 15:20:19 +0000 (15:20 +0000)
commitd53c08656422f6c84721cd849393386c1f3aa145
tree17e94f51e92d2d1ca62009bcca4c10b638f7d228
parent82fa336908e31021d99f83e4526972adbf2c1624
Clean up krb5_get_credentials:
  * Use the current coding practice for output parameters.
  * Rename the helper function krb5_get_credentials_core to
    krb5int_construct_matching_creds and document it.
  * Don't fail out if we fail to cache intermediate tgts.
  * Simplify conditional logic and variable handling.  ncreds is now
    always a temporary holder for the resulting credentials.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22787 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/get_creds.c
src/lib/krb5/krb/int-proto.h
src/lib/krb5/krb/s4u_creds.c