Searched refs:can_auth (Results 1 – 1 of 1) sorted by relevance
1289 int can_auth; in auth_check_options() local1335 can_auth = wo->neg_upap && (uselogin || have_pap_secret(&lacks_ip)); in auth_check_options()1336 if (!can_auth && (wo->neg_chap || wo->neg_eap)) { in auth_check_options()1337 can_auth = have_chap_secret((explicit_remote? remote_name: NULL), in auth_check_options()1340 if (!can_auth && wo->neg_eap) { in auth_check_options()1341 can_auth = have_srp_secret((explicit_remote? remote_name: NULL), in auth_check_options()1346 if (!can_auth && wo->neg_eap) { in auth_check_options()1347 can_auth = in auth_check_options()1354 if (auth_required && !can_auth && noauth_addrs == NULL) { in auth_check_options()