summaryrefslogtreecommitdiffstats
path: root/src/appl/gssftp/ftp
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2003-12-19 21:11:40 +0000
committerKen Raeburn <raeburn@mit.edu>2003-12-19 21:11:40 +0000
commit401c57f89380e592d58373f49df15920a6d50c78 (patch)
tree0918eb35eb6cebfe7777ef67b129a3860f6f77a1 /src/appl/gssftp/ftp
parente15214767f7711f79b22bf8743c53a419859a903 (diff)
downloadkrb5-401c57f89380e592d58373f49df15920a6d50c78.tar.gz
krb5-401c57f89380e592d58373f49df15920a6d50c78.tar.xz
krb5-401c57f89380e592d58373f49df15920a6d50c78.zip
* ftp.c (do_auth): Handle a return code of 335, where the authentication
exchange requires more messages. ticket: 2062 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15943 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/gssftp/ftp')
-rw-r--r--src/appl/gssftp/ftp/ChangeLog5
-rw-r--r--src/appl/gssftp/ftp/ftp.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/appl/gssftp/ftp/ChangeLog b/src/appl/gssftp/ftp/ChangeLog
index 600eb26882..1f17c0f458 100644
--- a/src/appl/gssftp/ftp/ChangeLog
+++ b/src/appl/gssftp/ftp/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-13 Ken Raeburn <raeburn@mit.edu>
+
+ * ftp.c (do_auth): Handle a return code of 335, where the
+ authentication exchange requires more messages.
+
2003-06-25 Tom Yu <tlyu@mit.edu>
* ftp.c (do_auth): Call gss_release_buffer() on send_tok
diff --git a/src/appl/gssftp/ftp/ftp.c b/src/appl/gssftp/ftp/ftp.c
index 769a3cd177..6ef4e886eb 100644
--- a/src/appl/gssftp/ftp/ftp.c
+++ b/src/appl/gssftp/ftp/ftp.c
@@ -2063,7 +2063,7 @@ int do_auth()
fprintf(stderr, "Base 64 encoding failed: %s\n",
radix_error(kerror));
} else if ((comcode = command("ADAT %s", out_buf))!=COMPLETE
- /* && comcode != 3 (335)*/) {
+ && comcode != 3 /* (335) */) {
if (trial == n_gss_trials-1) {
fprintf(stderr, "GSSAPI ADAT failed\n");
/* force out of loop */