Home
last modified time | relevance | path

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

/netbsd/src/external/bsd/ppp/dist/pppd/
Dauth.c1346 int can_auth; in auth_check_options() local
1400 can_auth = wo->neg_upap && (uselogin || have_pap_secret(&lacks_ip)); in auth_check_options()
1401 if (!can_auth && (wo->neg_chap || wo->neg_eap)) { in auth_check_options()
1402 can_auth = have_chap_secret((explicit_remote? remote_name: NULL), in auth_check_options()
1405 if (!can_auth && wo->neg_eap) { in auth_check_options()
1406 can_auth = have_srp_secret((explicit_remote? remote_name: NULL), in auth_check_options()
1411 if (!can_auth && wo->neg_eap) { in auth_check_options()
1412 can_auth = in auth_check_options()
1419 if (auth_required && !can_auth && noauth_addrs == NULL) { in auth_check_options()