(krb5_get_init_creds_password): if prompter is NULL, don't try to ask

for a password to change. reported by Iain Moffat @ ufl.edu via Howard
Chu <hyc@highlandsun.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11888 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-03-20 17:15:43 +00:00
parent 18d40db268
commit 0d70a9f211

View File

@@ -452,6 +452,9 @@ krb5_get_init_creds_password(krb5_context context,
case KRB5KDC_ERR_KEY_EXPIRED :
/* try to avoid recursion */
if (prompter == NULL)
goto out;
krb5_clear_error_string (context);
if (in_tkt_service != NULL