From 5e1ce981b773a2b783680894535ff87c31f97827 Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Thu, 13 Jun 1996 22:38:44 +0000 Subject: [PATCH] * ftpd.c (authdata): misplaced braces caused server to not be able to use ftp principle if it was present. Client looks for ftp first, then tries host; ftpd was looking only for host. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8355 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/gssftp/ftpd/ChangeLog | 6 ++++++ src/appl/gssftp/ftpd/ftpd.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index 03ea955d9..798b51dbd 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,9 @@ +Thu Jun 13 18:35:19 1996 Kevin L Mitchell + + * ftpd.c (authdata): misplaced braces caused server to not be able to + use ftp principle if it was present. Client looks for ftp + first, then tries host; ftpd was looking only for host. + Mon Jun 3 16:12:59 1996 Tom Yu * Makefile.in, configure.in: back out previous changes and use diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index a18bfc217..c260325f3 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -1967,7 +1967,7 @@ char *data; if (maj_stat != GSS_S_COMPLETE) continue; found++; - } + /* }*/ if (!found && (maj_stat != GSS_S_COMPLETE)) { @@ -2064,6 +2064,7 @@ char *data; (void) gss_release_cred(&min_stat, &server_creds); return(0); } + } } #endif /* GSSAPI */ /* Other auth types go here ... */ -- 2.26.2