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

Diff for /src/usr.bin/ssh/auth2.c between version 1.154 and 1.155

version 1.154, 2019/01/19 21:41:18 version 1.155, 2019/03/25 22:34:52
Line 528 
Line 528 
 {  {
         u_int i;          u_int i;
   
           /* First, normalise away the "any" pseudo-method */
           if (options.num_auth_methods == 1 &&
               strcmp(options.auth_methods[0], "any") == 0) {
                   free(options.auth_methods[0]);
                   options.auth_methods[0] = NULL;
                   options.num_auth_methods = 0;
           }
   
         if (options.num_auth_methods == 0)          if (options.num_auth_methods == 0)
                 return 0;                  return 0;
         debug3("%s: checking methods", __func__);          debug3("%s: checking methods", __func__);

Legend:
Removed from v.1.154  
changed lines
  Added in v.1.155