[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.97 and 1.98

version 1.97, 2015/08/19 23:21:42 version 1.98, 2016/05/23 00:17:27
Line 250 
Line 250 
   
 /*  /*
  * Filters a proposal string, excluding any algorithm matching the 'filter'   * Filters a proposal string, excluding any algorithm matching the 'filter'
  * pattern list.   * pattern list.  Returns a new string and frees the original proposal.
  */   */
 static char *  static char *
 filter_proposal(char *proposal, const char *filter)  filter_proposal(char *proposal, const char *filter)
Line 273 
Line 273 
         fix_prop = xstrdup((char *)buffer_ptr(&b));          fix_prop = xstrdup((char *)buffer_ptr(&b));
         buffer_free(&b);          buffer_free(&b);
         free(orig_prop);          free(orig_prop);
           free(proposal);
   
         return fix_prop;          return fix_prop;
 }  }

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.98