version 1.254, 2014/10/24 02:01:20 |
version 1.255, 2014/11/24 03:39:22 |
|
|
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) |
|
|
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; |