* ftpd.c (auth_data): actually exit the for loop if the ftp key
authorMark Eichin <eichin@mit.edu>
Tue, 22 Oct 1996 07:11:17 +0000 (07:11 +0000)
committerMark Eichin <eichin@mit.edu>
Tue, 22 Oct 1996 07:11:17 +0000 (07:11 +0000)
was ok.

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

src/appl/gssftp/ftpd/ChangeLog
src/appl/gssftp/ftpd/ftpd.c

index 9b7f36cf658ed7d414da5182d6ff0dc841ab21ea..47836914ec5457c4ca94737995b5bfdce6bdb005 100644 (file)
@@ -1,3 +1,8 @@
+Thu Oct 17 23:55:32 1996  Mark Eichin  <eichin@cygnus.com>
+
+       * ftpd.c (auth_data): actually exit the for loop if the ftp key
+       was ok.
+
 Mon Oct 14 07:54:17 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * ftpd.c (secure_fprintf): Use STDARG routines if
index df29b8f1d489b42d6f4f749a75b6e0ac33cbf3bb..f25fbadcbb1010ca2d4498cd236dd0578e19c687 100644 (file)
@@ -1983,8 +1983,8 @@ char *data;
                                                            NULL,       /* ignore time_rec */
                                                            NULL   /* ignore del_cred_handle */
                                                            );
-                       if (accept_maj!=GSS_S_COMPLETE && accept_maj!=GSS_S_CONTINUE_NEEDED)
-                               continue;
+                       if (accept_maj==GSS_S_COMPLETE||accept_maj==GSS_S_CONTINUE_NEEDED)
+                               break;
                }
 
                if (found) {