[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.210 and 1.211

version 1.210, 2010/09/01 15:21:35 version 1.211, 2010/09/22 05:01:29
Line 102 
Line 102 
         options->num_deny_groups = 0;          options->num_deny_groups = 0;
         options->ciphers = NULL;          options->ciphers = NULL;
         options->macs = NULL;          options->macs = NULL;
           options->kex_algorithms = NULL;
         options->protocol = SSH_PROTO_UNKNOWN;          options->protocol = SSH_PROTO_UNKNOWN;
         options->gateway_ports = -1;          options->gateway_ports = -1;
         options->num_subsystems = 0;          options->num_subsystems = 0;
Line 289 
Line 290 
         sUsePrivilegeSeparation, sAllowAgentForwarding,          sUsePrivilegeSeparation, sAllowAgentForwarding,
         sZeroKnowledgePasswordAuthentication, sHostCertificate,          sZeroKnowledgePasswordAuthentication, sHostCertificate,
         sRevokedKeys, sTrustedUserCAKeys, sAuthorizedPrincipalsFile,          sRevokedKeys, sTrustedUserCAKeys, sAuthorizedPrincipalsFile,
           sKexAlgorithms,
         sDeprecated, sUnsupported          sDeprecated, sUnsupported
 } ServerOpCodes;  } ServerOpCodes;
   
Line 399 
Line 401 
         { "revokedkeys", sRevokedKeys, SSHCFG_ALL },          { "revokedkeys", sRevokedKeys, SSHCFG_ALL },
         { "trustedusercakeys", sTrustedUserCAKeys, SSHCFG_ALL },          { "trustedusercakeys", sTrustedUserCAKeys, SSHCFG_ALL },
         { "authorizedprincipalsfile", sAuthorizedPrincipalsFile, SSHCFG_ALL },          { "authorizedprincipalsfile", sAuthorizedPrincipalsFile, SSHCFG_ALL },
           { "kexalgorithms", sKexAlgorithms, SSHCFG_GLOBAL },
         { NULL, sBadOption, 0 }          { NULL, sBadOption, 0 }
 };  };
   
Line 1086 
Line 1089 
                             filename, linenum, arg ? arg : "<NONE>");                              filename, linenum, arg ? arg : "<NONE>");
                 if (options->macs == NULL)                  if (options->macs == NULL)
                         options->macs = xstrdup(arg);                          options->macs = xstrdup(arg);
                   break;
   
           case sKexAlgorithms:
                   arg = strdelim(&cp);
                   if (!arg || *arg == '\0')
                           fatal("%s line %d: Missing argument.",
                               filename, linenum);
                   if (!kex_names_valid(arg))
                           fatal("%s line %d: Bad SSH2 KexAlgorithms '%s'.",
                               filename, linenum, arg ? arg : "<NONE>");
                   if (options->kex_algorithms == NULL)
                           options->kex_algorithms = xstrdup(arg);
                 break;                  break;
   
         case sProtocol:          case sProtocol:

Legend:
Removed from v.1.210  
changed lines
  Added in v.1.211