Return to doas.c CVS log | Up to [local] / src / usr.bin / doas |
version 1.47, 2015/12/08 13:39:40 | version 1.48, 2015/12/08 14:45:36 | ||
---|---|---|---|
|
|
||
if (!(as = auth_userchallenge(myname, login_style, "auth-doas", | if (!(as = auth_userchallenge(myname, login_style, "auth-doas", | ||
&challenge))) | &challenge))) | ||
err(1, "auth challenge failed"); | errx(1, "Authorization failed"); | ||
if (!challenge) { | if (!challenge) { | ||
char host[HOST_NAME_MAX + 1]; | char host[HOST_NAME_MAX + 1]; | ||
if (gethostname(host, sizeof(host))) | if (gethostname(host, sizeof(host))) |