Unify krb5_get_init_creds_keytab code paths
authorGreg Hudson <ghudson@mit.edu>
Thu, 19 Apr 2012 17:55:10 +0000 (17:55 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 19 Apr 2012 17:55:10 +0000 (17:55 +0000)
commitd1da158f47ea604bed4d5db5e98a976a9e54ccd0
treeb8f2b49fd048eee35c427fceea1c05f2eadbd130
parent343b0f7b9b97b451139bbe5a3dc5976e738f5921
Unify krb5_get_init_creds_keytab code paths

Use krb5_init_creds_set_keytab in krb5_get_init_creds_keytab, so that
processing added to the former will be used by the latter.  This is
slightly awkward because of the way we do the use_master fallback, in
that we have to duplicate some of krb5int_get_init_creds.

Based on a patch from Stef Walter.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25817 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/deps
src/lib/krb5/krb/get_in_tkt.c
src/lib/krb5/krb/gic_keytab.c
src/lib/krb5/krb/int-proto.h