Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/ctld/login.c
Show First 20 Lines • Show All 742 Lines • ▼ Show 20 Lines | if (request == NULL) { | ||||
request = login_receive(conn, false); | request = login_receive(conn, false); | ||||
skipped_security = false; | skipped_security = false; | ||||
} else | } else | ||||
skipped_security = true; | skipped_security = true; | ||||
/* | /* | ||||
* RFC 3720, 10.13.5. Status-Class and Status-Detail, says | * RFC 3720, 10.13.5. Status-Class and Status-Detail, says | ||||
* the redirection SHOULD be accepted by the initiator before | * the redirection SHOULD be accepted by the initiator before | ||||
* authentication, but MUST be be accepted afterwards; that's | * authentication, but MUST be accepted afterwards; that's | ||||
* why we're doing it here and not earlier. | * why we're doing it here and not earlier. | ||||
*/ | */ | ||||
redirected = login_target_redirect(conn, request); | redirected = login_target_redirect(conn, request); | ||||
if (redirected) { | if (redirected) { | ||||
log_debugx("initiator redirected; exiting"); | log_debugx("initiator redirected; exiting"); | ||||
exit(0); | exit(0); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 300 Lines • Show Last 20 Lines |