Fix several bugs in gss-krb5 inq_cred
authorGreg Hudson <ghudson@mit.edu>
Tue, 6 Sep 2011 15:14:10 +0000 (15:14 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 6 Sep 2011 15:14:10 +0000 (15:14 +0000)
commiteef156a09779d93b4b0743f0c14df799ce1222a6
tree6b1ebd4788a78e7801a18db860ea665be91c637f
parent50e0e4fe668ca28c42d3a19230e58559097486a4
Fix several bugs in gss-krb5 inq_cred

cred could be used uninitialized if krb5_timeofday() failed.  defcred
had the wrong type.  kg_cred_resolve() should be used instead of
krb5_gss_validate_cred() to do delayed name/ccache resolution and get
a lock.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25164 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/krb5/inq_cred.c