[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.224 and 1.225

version 1.224, 2012/03/29 23:54:36 version 1.225, 2012/04/12 02:42:32
Line 131 
Line 131 
         options->authorized_principals_file = NULL;          options->authorized_principals_file = NULL;
         options->ip_qos_interactive = -1;          options->ip_qos_interactive = -1;
         options->ip_qos_bulk = -1;          options->ip_qos_bulk = -1;
           options->version_addendum = NULL;
 }  }
   
 void  void
Line 263 
Line 264 
                 options->ip_qos_interactive = IPTOS_LOWDELAY;                  options->ip_qos_interactive = IPTOS_LOWDELAY;
         if (options->ip_qos_bulk == -1)          if (options->ip_qos_bulk == -1)
                 options->ip_qos_bulk = IPTOS_THROUGHPUT;                  options->ip_qos_bulk = IPTOS_THROUGHPUT;
           if (options->version_addendum == NULL)
                   options->version_addendum = xstrdup("");
         /* Turn privilege separation on by default */          /* Turn privilege separation on by default */
         if (use_privsep == -1)          if (use_privsep == -1)
                 use_privsep = PRIVSEP_ON;                  use_privsep = PRIVSEP_ON;
Line 296 
Line 298 
         sUsePrivilegeSeparation, sAllowAgentForwarding,          sUsePrivilegeSeparation, sAllowAgentForwarding,
         sZeroKnowledgePasswordAuthentication, sHostCertificate,          sZeroKnowledgePasswordAuthentication, sHostCertificate,
         sRevokedKeys, sTrustedUserCAKeys, sAuthorizedPrincipalsFile,          sRevokedKeys, sTrustedUserCAKeys, sAuthorizedPrincipalsFile,
         sKexAlgorithms, sIPQoS,          sKexAlgorithms, sIPQoS, sVersionAddendum,
         sDeprecated, sUnsupported          sDeprecated, sUnsupported
 } ServerOpCodes;  } ServerOpCodes;
   
Line 409 
Line 411 
         { "authorizedprincipalsfile", sAuthorizedPrincipalsFile, SSHCFG_ALL },          { "authorizedprincipalsfile", sAuthorizedPrincipalsFile, SSHCFG_ALL },
         { "kexalgorithms", sKexAlgorithms, SSHCFG_GLOBAL },          { "kexalgorithms", sKexAlgorithms, SSHCFG_GLOBAL },
         { "ipqos", sIPQoS, SSHCFG_ALL },          { "ipqos", sIPQoS, SSHCFG_ALL },
           { "versionaddendum", sVersionAddendum, SSHCFG_GLOBAL },
         { NULL, sBadOption, 0 }          { NULL, sBadOption, 0 }
 };  };
   
Line 1358 
Line 1361 
                 }                  }
                 break;                  break;
   
           case sVersionAddendum:
                   if (cp == NULL)
                           fatal("%.200s line %d: Missing argument.", filename,
                               linenum);
                   len = strspn(cp, WHITESPACE);
                   if (*activep && options->version_addendum == NULL) {
                           if (strcasecmp(cp + len, "none") == 0)
                                   options->version_addendum = xstrdup("");
                           else if (strchr(cp + len, '\r') != NULL)
                                   fatal("%.200s line %d: Invalid argument",
                                       filename, linenum);
                           else
                                   options->version_addendum = xstrdup(cp + len);
                   }
                   return 0;
   
         case sDeprecated:          case sDeprecated:
                 logit("%s line %d: Deprecated option %s",                  logit("%s line %d: Deprecated option %s",
                     filename, linenum, arg);                      filename, linenum, arg);
Line 1716 
Line 1735 
         dump_cfg_string(sRevokedKeys, o->revoked_keys_file);          dump_cfg_string(sRevokedKeys, o->revoked_keys_file);
         dump_cfg_string(sAuthorizedPrincipalsFile,          dump_cfg_string(sAuthorizedPrincipalsFile,
             o->authorized_principals_file);              o->authorized_principals_file);
           dump_cfg_string(sVersionAddendum, o->version_addendum);
   
         /* string arguments requiring a lookup */          /* string arguments requiring a lookup */
         dump_cfg_string(sLogLevel, log_level_name(o->log_level));          dump_cfg_string(sLogLevel, log_level_name(o->log_level));

Legend:
Removed from v.1.224  
changed lines
  Added in v.1.225