Searched refs:can_auth (Results 1 – 1 of 1) sorted by relevance
1375 int can_auth; in auth_check_options() local1446 can_auth = wo->neg_upap && (uselogin || have_pap_secret(&lacks_ip)); in auth_check_options()1448 can_auth = 0; in auth_check_options()1450 if (!can_auth && (0 in auth_check_options()1459 can_auth = have_chap_secret((explicit_remote? remote_name: NULL), in auth_check_options()1462 can_auth = 0; in auth_check_options()1465 if (!can_auth in auth_check_options()1470 can_auth = have_srp_secret((explicit_remote? remote_name: NULL), in auth_check_options()1474 if (auth_required && !can_auth && noauth_addrs == NULL) { in auth_check_options()