Lines Matching refs:ret
195 int ret = AUTH_OK; in krb5_auth() local
276 ret = AUTH_OK; in krb5_auth()
295 ret = AUTH_ERROR; in krb5_auth()
306 ret = AUTH_ERROR; in krb5_auth()
320 ret = -2; in krb5_auth()
325 ret = -1; in krb5_auth()
334 ret = AUTH_ERROR; in krb5_auth()
349 ret = AUTH_CONTINUE; in krb5_auth()
366 if(ret == AUTH_OK || service == srv_host) in krb5_auth()
371 return ret; in krb5_auth()
834 int ret; in choose_mech() local
847 ret = mech->init(conn->app_data); in choose_mech()
848 if(ret) { in choose_mech()
857 ret = ftp_send_command(data, "AUTH %s", mech->name); in choose_mech()
858 if(ret < 0) in choose_mech()
861 if(ret/100 != 3) { in choose_mech()
862 switch(ret) { in choose_mech()
872 if(ret/100 == 5) { in choose_mech()
882 ret = mech->auth(conn->app_data, data, conn); in choose_mech()
884 if(ret != AUTH_CONTINUE) { in choose_mech()
885 if(ret != AUTH_OK) { in choose_mech()
889 DEBUGASSERT(ret == AUTH_OK); in choose_mech()