svn rev #24286: trunk/src/kdc/

ghudson@MIT.EDU ghudson at MIT.EDU
Thu Sep 2 11:35:26 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24286
Commit By: ghudson
Log Message:
ticket: 6764
tags: pullup
target_version: 1.8.4

Properly search for MANDATORY-FOR-KDC authdata elements.  Reported by
Mike Roszkowski.



Changed Files:
U   trunk/src/kdc/kdc_authdata.c
Modified: trunk/src/kdc/kdc_authdata.c
===================================================================
--- trunk/src/kdc/kdc_authdata.c	2010-09-01 21:16:05 UTC (rev 24285)
+++ trunk/src/kdc/kdc_authdata.c	2010-09-02 15:35:25 UTC (rev 24286)
@@ -472,7 +472,7 @@
 
     if (authdata != NULL) {
         for (i = 0; authdata[i] != NULL; i++) {
-            if (authdata[0]->ad_type == KRB5_AUTHDATA_MANDATORY_FOR_KDC) {
+            if (authdata[i]->ad_type == KRB5_AUTHDATA_MANDATORY_FOR_KDC) {
                 ret = TRUE;
                 break;
             }




More information about the cvs-krb5 mailing list