Searched refs:can_auth (Results 1 – 1 of 1) sorted by relevance
525 int can_auth; in auth_check_options() local545 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()