version 1.125, 2003/10/07 01:47:27 |
version 1.126, 2003/10/07 21:58:28 |
|
|
input_userauth_banner(int type, u_int32_t seq, void *ctxt) |
input_userauth_banner(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
char *msg, *lang; |
char *msg, *lang; |
|
|
debug3("input_userauth_banner"); |
debug3("input_userauth_banner"); |
msg = packet_get_string(NULL); |
msg = packet_get_string(NULL); |
lang = packet_get_string(NULL); |
lang = packet_get_string(NULL); |
|
|
Authctxt *authctxt = ctxt; |
Authctxt *authctxt = ctxt; |
if (authctxt == NULL) |
if (authctxt == NULL) |
fatal("input_userauth_success: no authentication context"); |
fatal("input_userauth_success: no authentication context"); |
if (authctxt->authlist) |
if (authctxt->authlist) { |
xfree(authctxt->authlist); |
xfree(authctxt->authlist); |
if (authctxt->methoddata) |
authctxt->authlist = NULL; |
|
} |
|
if (authctxt->methoddata) { |
xfree(authctxt->methoddata); |
xfree(authctxt->methoddata); |
|
authctxt->methoddata = NULL; |
|
} |
authctxt->success = 1; /* break out */ |
authctxt->success = 1; /* break out */ |
} |
} |
|
|
|
|
|
|
packet_check_eom(); |
packet_check_eom(); |
|
|
status=ssh_gssapi_init_ctx(gssctxt, options.gss_deleg_creds, |
status = ssh_gssapi_init_ctx(gssctxt, options.gss_deleg_creds, |
&recv_tok, &send_tok, NULL); |
&recv_tok, &send_tok, NULL); |
|
|
xfree(recv_tok.value); |
xfree(recv_tok.value); |