|
Lines 335-343
Link Here
|
| 335 |
if ((style = strchr(user, ':')) != NULL) |
335 |
if ((style = strchr(user, ':')) != NULL) |
| 336 |
*style++ = '\0'; |
336 |
*style++ = '\0'; |
| 337 |
|
337 |
|
|
|
338 |
#ifdef KRB5 |
| 338 |
/* XXX - SSH.com Kerberos v5 braindeath. */ |
339 |
/* XXX - SSH.com Kerberos v5 braindeath. */ |
| 339 |
if ((p = strchr(user, '@')) != NULL) |
340 |
if (options.kerberos_authentication) |
| 340 |
*p = '\0'; |
341 |
if ((p = strchr(user, '@')) != NULL) |
|
|
342 |
*p = '\0'; |
| 343 |
#endif |
| 341 |
|
344 |
|
| 342 |
authctxt = authctxt_new(); |
345 |
authctxt = authctxt_new(); |
| 343 |
authctxt->user = user; |
346 |
authctxt->user = user; |