Add a missing "else" to init_creds_step_request(). The mistake was
harmless because optimistic preauth can only be present for the first
step, and the other conditions can only be true after the state
machine has processed an error reply.
[ghudson@mit.edu: rewrote commit message]
krb5_clear_error_message(context);
code = 0;
}
- } if (ctx->more_padata != NULL) {
+ } else if (ctx->more_padata != NULL) {
/* Continuing after KDC_ERR_MORE_PREAUTH_DATA_REQUIRED. */
TRACE_INIT_CREDS_PREAUTH_MORE(context, ctx->selected_preauth_type);
code = k5_preauth(context, ctx, ctx->more_padata, TRUE,