From 3df20abff2f625b8c6dbed97d08560a784ee0339 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Thu, 20 Oct 2011 15:16:03 +0000 Subject: [PATCH] Fix handling of null edata method in KDC preauth Correctly include an empty padata value if a KDC preauth system has no get_edata method. This bug prevented the KDC from indicating FAST support in preauth-required errors. ticket: 6988 target_version: 1.10 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25385 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/kdc_preauth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kdc/kdc_preauth.c b/src/kdc/kdc_preauth.c index bf1017f52..272980db5 100644 --- a/src/kdc/kdc_preauth.c +++ b/src/kdc/kdc_preauth.c @@ -829,7 +829,7 @@ hint_list_next(struct hint_state *state) ap->get_edata(kdc_context, state->request, &callbacks, state->rock, ap->moddata, ap->type, finish_get_edata, state); } else - finish_get_edata(state, ap->type, NULL); + finish_get_edata(state, 0, NULL); return; next: -- 2.26.2