Home
last modified time | relevance | path

Searched refs:can_auth (Results 1 – 1 of 1) sorted by relevance

/openbsd/src/usr.sbin/pppd/
Dauth.c525 int can_auth; in auth_check_options() local
545 can_auth = wo->neg_upap && (uselogin || have_pap_secret()); in auth_check_options()
546 if (!can_auth && wo->neg_chap) { in auth_check_options()
548 can_auth = have_chap_secret(remote_name, our_name, remote); in auth_check_options()
551 if (auth_required && !can_auth) { in auth_check_options()