summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */