* preauth2.c (krb5_do_preauth): Check paorder[h] not h for PA_REAL. Fix from Matt...
authorKen Raeburn <raeburn@mit.edu>
Sat, 26 Feb 2000 01:31:26 +0000 (01:31 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 26 Feb 2000 01:31:26 +0000 (01:31 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12077 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/preauth2.c

index 4315b8b5c264459c5700788a387518105fcef9bb..a905bd2c13ccfde58539fae74256df221835445b 100644 (file)
@@ -1,3 +1,8 @@
+2000-02-25  Ken Raeburn  <raeburn@mit.edu>
+
+       * preauth2.c (krb5_do_preauth): Check paorder[h] not h for
+       PA_REAL.  Fix from Matt Crawford.
+
 2000-02-16  Ken Raeburn  <raeburn@mit.edu>
 
        * preauth2.c (pa_sam): In send-encrypted-sad mode, check for magic
index c9d361d8c4fe2fc3ceba0b24de001f7e7fe6815d..e2cb32b4af250af70f2544d6eab3f889dcedb4d8 100644 (file)
@@ -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;
                }
            }