version 1.86, 2002/03/17 20:25:56 |
version 1.87, 2002/03/18 01:12:14 |
|
|
* loop until authctxt->success == TRUE |
* loop until authctxt->success == TRUE |
*/ |
*/ |
|
|
void |
Authctxt * |
do_authentication2(void) |
do_authentication2(void) |
{ |
{ |
Authctxt *authctxt = authctxt_new(); |
Authctxt *authctxt = authctxt_new(); |
|
|
dispatch_init(&dispatch_protocol_error); |
dispatch_init(&dispatch_protocol_error); |
dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request); |
dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request); |
dispatch_run(DISPATCH_BLOCK, &authctxt->success, authctxt); |
dispatch_run(DISPATCH_BLOCK, &authctxt->success, authctxt); |
do_authenticated(authctxt); |
|
|
return (authctxt); |
} |
} |
|
|
static void |
static void |