|
Lines 408-413
ssh_userauth2(struct ssh *ssh, const char *local_user,
Link Here
|
| 408 |
ssh_dispatch_set(ssh, SSH2_MSG_SERVICE_ACCEPT, &input_userauth_service_accept); |
408 |
ssh_dispatch_set(ssh, SSH2_MSG_SERVICE_ACCEPT, &input_userauth_service_accept); |
| 409 |
ssh_dispatch_run_fatal(ssh, DISPATCH_BLOCK, &authctxt.success); /* loop until success */ |
409 |
ssh_dispatch_run_fatal(ssh, DISPATCH_BLOCK, &authctxt.success); /* loop until success */ |
| 410 |
pubkey_cleanup(ssh); |
410 |
pubkey_cleanup(ssh); |
|
|
411 |
if (authctxt->method != NULL && authctxt->method->cleanup != NULL) |
| 412 |
authctxt->method->cleanup(ssh); |
| 411 |
ssh->authctxt = NULL; |
413 |
ssh->authctxt = NULL; |
| 412 |
|
414 |
|
| 413 |
ssh_dispatch_range(ssh, SSH2_MSG_USERAUTH_MIN, SSH2_MSG_USERAUTH_MAX, NULL); |
415 |
ssh_dispatch_range(ssh, SSH2_MSG_USERAUTH_MIN, SSH2_MSG_USERAUTH_MAX, NULL); |