don't pass null pointer to krb5_do_preauth_tryagain()
authorTom Yu <tlyu@mit.edu>
Tue, 19 Dec 2006 04:16:22 +0000 (04:16 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 19 Dec 2006 04:16:22 +0000 (04:16 +0000)
commitcae1f6d47f72fb97957dd7f8e452f0b850769a94
tree0a263f8068634becd5564f8732d5566933fa4f96
parentd167f064b4455dc66ca8dfbea4053525dc325502
don't pass null pointer to krb5_do_preauth_tryagain()

* src/lib/krb5/krb/get_in_tkt.c (krb5_get_init_creds): If
the error isn't PREAUTH_NEEDED and preauth_to_use is null, return
the error in err_reply, rather than attempting to pass a null
pointer to krb5_do_preauth_tryagain().

ticket: new
status: open
target_version: 1.6

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18976 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/get_in_tkt.c