[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.327 and 1.328

version 1.327, 2018/04/04 15:12:17 version 1.328, 2018/04/10 00:10:49
Line 1888 
Line 1888 
         case sAuthenticationMethods:          case sAuthenticationMethods:
                 if (options->num_auth_methods == 0) {                  if (options->num_auth_methods == 0) {
                         value = 0; /* seen "any" pseudo-method */                          value = 0; /* seen "any" pseudo-method */
                         value2 = 0; /* sucessfully parsed any method */                          value2 = 0; /* successfully parsed any method */
                         while ((arg = strdelim(&cp)) && *arg != '\0') {                          while ((arg = strdelim(&cp)) && *arg != '\0') {
                                 if (strcmp(arg, "any") == 0) {                                  if (strcmp(arg, "any") == 0) {
                                         if (options->num_auth_methods > 0) {                                          if (options->num_auth_methods > 0) {
Line 2072 
Line 2072 
  *   *
  * If the preauth flag is set, we do not bother copying the string or   * If the preauth flag is set, we do not bother copying the string or
  * array values that are not used pre-authentication, because any that we   * array values that are not used pre-authentication, because any that we
  * do use must be explictly sent in mm_getpwnamallow().   * do use must be explicitly sent in mm_getpwnamallow().
  */   */
 void  void
 copy_set_server_options(ServerOptions *dst, ServerOptions *src, int preauth)  copy_set_server_options(ServerOptions *dst, ServerOptions *src, int preauth)

Legend:
Removed from v.1.327  
changed lines
  Added in v.1.328