Home
last modified time | relevance | path

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

/openbsd/usr.sbin/pppd/
H A Dauth.c541 int can_auth; in auth_check_options() local
561 can_auth = wo->neg_upap && (uselogin || have_pap_secret()); in auth_check_options()
562 if (!can_auth && wo->neg_chap) { in auth_check_options()
564 can_auth = have_chap_secret(remote_name, our_name, remote); in auth_check_options()
567 if (auth_required && !can_auth) { in auth_check_options()