diff options
author | Mark Eichin <eichin@mit.edu> | 1996-10-22 07:11:17 +0000 |
---|---|---|
committer | Mark Eichin <eichin@mit.edu> | 1996-10-22 07:11:17 +0000 |
commit | 34ef5b15ccc0c07be9cd7e85b978a8cb127e616e (patch) | |
tree | b4a3be292e6c3c1abd1527e4f25206a21a5c9a37 | |
parent | 1302f9f72b6da51f348569245c75ea97179774da (diff) | |
download | krb5-34ef5b15ccc0c07be9cd7e85b978a8cb127e616e.tar.gz krb5-34ef5b15ccc0c07be9cd7e85b978a8cb127e616e.tar.xz krb5-34ef5b15ccc0c07be9cd7e85b978a8cb127e616e.zip |
* ftpd.c (auth_data): actually exit the for loop if the ftp key
was ok.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9236 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/appl/gssftp/ftpd/ChangeLog | 5 | ||||
-rw-r--r-- | src/appl/gssftp/ftpd/ftpd.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index 9b7f36cf6..47836914e 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -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 diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index df29b8f1d..f25fbadcb 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -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) { |