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

Diff for /src/usr.bin/ssh/servconf.c between version 1.254 and 1.255

version 1.254, 2014/10/24 02:01:20 version 1.255, 2014/11/24 03:39:22
Line 1564 
Line 1564 
                 return 0;                  return 0;
   
         case sAuthorizedKeysCommand:          case sAuthorizedKeysCommand:
                   if (cp == NULL)
                           fatal("%.200s line %d: Missing argument.", filename,
                               linenum);
                 len = strspn(cp, WHITESPACE);                  len = strspn(cp, WHITESPACE);
                 if (*activep && options->authorized_keys_command == NULL) {                  if (*activep && options->authorized_keys_command == NULL) {
                         if (cp[len] != '/' && strcasecmp(cp + len, "none") != 0)                          if (cp[len] != '/' && strcasecmp(cp + len, "none") != 0)
Line 1578 
Line 1581 
                 charptr = &options->authorized_keys_command_user;                  charptr = &options->authorized_keys_command_user;
   
                 arg = strdelim(&cp);                  arg = strdelim(&cp);
                   if (!arg || *arg == '\0')
                           fatal("%s line %d: missing AuthorizedKeysCommandUser "
                               "argument.", filename, linenum);
                 if (*activep && *charptr == NULL)                  if (*activep && *charptr == NULL)
                         *charptr = xstrdup(arg);                          *charptr = xstrdup(arg);
                 break;                  break;

Legend:
Removed from v.1.254  
changed lines
  Added in v.1.255