Fix typo that caused infinite loop in previous patch
authorSam Hartman <hartmans@mit.edu>
Fri, 21 Feb 2003 01:35:09 +0000 (01:35 +0000)
committerSam Hartman <hartmans@mit.edu>
Fri, 21 Feb 2003 01:35:09 +0000 (01:35 +0000)
Ticket: 1006

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15195 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/ChangeLog
src/kdc/kdc_preauth.c

index d20710cf2dde700f009eec1e9acda2051f8407e2..155b7fb09e180a18e188d3a61061465a6440b845 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-20  Sam Hartman  <hartmans@mit.edu>
+
+       * kdc_preauth.c (get_etype_info): fix typo to that caused infinite
+       look in previous change 
+
 2003-02-14  Sam Hartman  <hartmans@mit.edu>
 
        * kdc_preauth.c (request_contains_enctype): New function
index 391bcd8bc0d5b9e680cafcebd243586c200fa893..4747f27deb1ac66f4ea47898cfd8b4568b52f360 100644 (file)
@@ -556,7 +556,7 @@ get_etype_info(krb5_context context, krb5_kdc_req *request,
        while (1) {
            if (!request_contains_enctype(context,
                                          request, db_etype)) {
-               if (db_etype = ENCTYPE_DES_CBC_CRC)
+               if (db_etype == ENCTYPE_DES_CBC_CRC)
                     continue;
                 else break;
             }