From: Ken Raeburn Date: Fri, 19 Dec 2003 21:11:40 +0000 (+0000) Subject: * ftp.c (do_auth): Handle a return code of 335, where the authentication X-Git-Tag: krb5-1.4-beta1~689 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=401c57f89380e592d58373f49df15920a6d50c78;p=krb5.git * 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 --- diff --git a/src/appl/gssftp/ftp/ChangeLog b/src/appl/gssftp/ftp/ChangeLog index 600eb2688..1f17c0f45 100644 --- a/src/appl/gssftp/ftp/ChangeLog +++ b/src/appl/gssftp/ftp/ChangeLog @@ -1,3 +1,8 @@ +2003-12-13 Ken Raeburn + + * ftp.c (do_auth): Handle a return code of 335, where the + authentication exchange requires more messages. + 2003-06-25 Tom Yu * 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 769a3cd17..6ef4e886e 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 */