From 0205931a58e8acd44801007627306406df00203a Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 26 Feb 2000 01:31:26 +0000 Subject: [PATCH] * preauth2.c (krb5_do_preauth): Check paorder[h] not h for PA_REAL. Fix from Matt Crawford git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12077 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 5 +++++ src/lib/krb5/krb/preauth2.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 4315b8b5c..a905bd2c1 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +2000-02-25 Ken Raeburn + + * preauth2.c (krb5_do_preauth): Check paorder[h] not h for + PA_REAL. Fix from Matt Crawford. + 2000-02-16 Ken Raeburn * preauth2.c (pa_sam): In send-encrypted-sad mode, check for magic diff --git a/src/lib/krb5/krb/preauth2.c b/src/lib/krb5/krb/preauth2.c index c9d361d8c..e2cb32b4a 100644 --- a/src/lib/krb5/krb/preauth2.c +++ b/src/lib/krb5/krb/preauth2.c @@ -540,7 +540,7 @@ krb5_do_preauth(krb5_context context, out_pa_list[out_pa_list_size++] = out_pa; } - if (h == PA_REAL) + if (paorder[h] == PA_REAL) realdone = 1; } } -- 2.26.2