[BACK]Return to doas.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / doas

Diff for /src/usr.bin/doas/doas.c between version 1.47 and 1.48

version 1.47, 2015/12/08 13:39:40 version 1.48, 2015/12/08 14:45:36
Line 419 
Line 419 
   
                 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)))

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48