looping bug in krb5_get_init_creds. A more correct fix will follow.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22888
dc483132-0cff-0310-8789-
dd5450dbe970
}
preauth_to_use = out_padata;
out_padata = NULL;
- if (err_reply->error == KDC_ERR_PREAUTH_REQUIRED) {
- krb5_free_error(context, err_reply);
- err_reply = NULL;
- }
+ krb5_free_error(context, err_reply);
+ err_reply = NULL;
ret = sort_krb5_padata_sequence(context,
&request.server->realm,
preauth_to_use);