* ftp.c (do_auth): Handle a return code of 335, where the authentication
authorKen Raeburn <raeburn@mit.edu>
Fri, 19 Dec 2003 21:11:40 +0000 (21:11 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 19 Dec 2003 21:11:40 +0000 (21:11 +0000)
exchange requires more messages.

ticket: 2062
status: open

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

src/appl/gssftp/ftp/ChangeLog
src/appl/gssftp/ftp/ftp.c

index 600eb2688254359fc277dae7ac5f42c797b6d1ca..1f17c0f458df28feb53b7065e25bb342d2976938 100644 (file)
@@ -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
index 769a3cd177f313d6208d7a2121bd0b3b33d2db67..6ef4e886eba2c909b00f829b8bc44d0af6437306 100644 (file)
@@ -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 */