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

Diff for /src/usr.bin/ssh/kex.c between version 1.158 and 1.159

version 1.158, 2020/03/13 04:01:56 version 1.159, 2020/07/05 23:59:45
Line 234 
Line 234 
                 list = tmp;                  list = tmp;
         } else if (*list == '-') {          } else if (*list == '-') {
                 /* Remove names from default list */                  /* Remove names from default list */
                 if ((*listp = match_filter_blacklist(def, list + 1)) == NULL) {                  if ((*listp = match_filter_denylist(def, list + 1)) == NULL) {
                         r = SSH_ERR_ALLOC_FAIL;                          r = SSH_ERR_ALLOC_FAIL;
                         goto fail;                          goto fail;
                 }                  }
Line 271 
Line 271 
                         goto fail;                          goto fail;
                 }                  }
                 free(matching);                  free(matching);
                 if ((matching = match_filter_whitelist(all, cp)) == NULL) {                  if ((matching = match_filter_allowlist(all, cp)) == NULL) {
                         r = SSH_ERR_ALLOC_FAIL;                          r = SSH_ERR_ALLOC_FAIL;
                         goto fail;                          goto fail;
                 }                  }

Legend:
Removed from v.1.158  
changed lines
  Added in v.1.159