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

Diff for /src/usr.bin/ssh/compat.c between version 1.90 and 1.91

version 1.90, 2015/04/13 02:04:08 version 1.91, 2015/05/04 06:10:48
Line 182 
Line 182 
   
         /* process table, return first match */          /* process table, return first match */
         for (i = 0; check[i].pat; i++) {          for (i = 0; check[i].pat; i++) {
                 if (match_pattern_list(version, check[i].pat,                  if (match_pattern_list(version, check[i].pat, 0) == 1) {
                     strlen(check[i].pat), 0) == 1) {  
                         debug("match: %s pat %s compat 0x%08x",                          debug("match: %s pat %s compat 0x%08x",
                             version, check[i].pat, check[i].bugs);                              version, check[i].pat, check[i].bugs);
                         datafellows = check[i].bugs;    /* XXX for now */                          datafellows = check[i].bugs;    /* XXX for now */
Line 241 
Line 240 
         buffer_init(&b);          buffer_init(&b);
         tmp = orig_prop = xstrdup(proposal);          tmp = orig_prop = xstrdup(proposal);
         while ((cp = strsep(&tmp, ",")) != NULL) {          while ((cp = strsep(&tmp, ",")) != NULL) {
                 if (match_pattern_list(cp, filter, strlen(cp), 0) != 1) {                  if (match_pattern_list(cp, filter, 0) != 1) {
                         if (buffer_len(&b) > 0)                          if (buffer_len(&b) > 0)
                                 buffer_append(&b, ",", 1);                                  buffer_append(&b, ",", 1);
                         buffer_append(&b, cp, strlen(cp));                          buffer_append(&b, cp, strlen(cp));

Legend:
Removed from v.1.90  
changed lines
  Added in v.1.91