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

Diff for /src/usr.bin/ssh/session.c between version 1.329 and 1.330

version 1.329, 2021/08/11 05:20:17 version 1.330, 2022/02/08 08:59:12
Line 290 
Line 290 
                 for (i = 0; i < auth_opts->npermitopen; i++) {                  for (i = 0; i < auth_opts->npermitopen; i++) {
                         tmp = cp = xstrdup(auth_opts->permitopen[i]);                          tmp = cp = xstrdup(auth_opts->permitopen[i]);
                         /* This shouldn't fail as it has already been checked */                          /* This shouldn't fail as it has already been checked */
                         if ((host = hpdelim(&cp)) == NULL)                          if ((host = hpdelim2(&cp, NULL)) == NULL)
                                 fatal_f("internal error: hpdelim");                                  fatal_f("internal error: hpdelim");
                         host = cleanhostname(host);                          host = cleanhostname(host);
                         if (cp == NULL || (port = permitopen_port(cp)) < 0)                          if (cp == NULL || (port = permitopen_port(cp)) < 0)

Legend:
Removed from v.1.329  
changed lines
  Added in v.1.330