|
Lines 2478-2484
do_cleanup(Authctxt *authctxt)
Link Here
|
| 2478 |
return; |
2478 |
return; |
| 2479 |
called = 1; |
2479 |
called = 1; |
| 2480 |
|
2480 |
|
| 2481 |
if (authctxt == NULL || !authctxt->authenticated) |
2481 |
if (authctxt == NULL) |
| 2482 |
return; |
2482 |
return; |
| 2483 |
#ifdef KRB5 |
2483 |
#ifdef KRB5 |
| 2484 |
if (options.kerberos_ticket_cleanup && |
2484 |
if (options.kerberos_ticket_cleanup && |
|
Lines 2497-2502
do_cleanup(Authctxt *authctxt)
Link Here
|
| 2497 |
sshpam_thread_cleanup(); |
2497 |
sshpam_thread_cleanup(); |
| 2498 |
} |
2498 |
} |
| 2499 |
#endif |
2499 |
#endif |
|
|
2500 |
if (!authctxt->authenticated) |
| 2501 |
return; |
| 2500 |
|
2502 |
|
| 2501 |
/* remove agent socket */ |
2503 |
/* remove agent socket */ |
| 2502 |
auth_sock_cleanup_proc(authctxt->pw); |
2504 |
auth_sock_cleanup_proc(authctxt->pw); |