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

Diff for /src/usr.bin/ssh/sshkey.c between version 1.135 and 1.136

version 1.135, 2023/03/31 03:22:49 version 1.136, 2023/06/21 05:10:26
Line 319 
Line 319 
 }  }
   
 int  int
 sshkey_names_valid2(const char *names, int allow_wildcard)  sshkey_names_valid2(const char *names, int allow_wildcard, int plain_only)
 {  {
         char *s, *cp, *p;          char *s, *cp, *p;
         const struct sshkey_impl *impl;          const struct sshkey_impl *impl;
Line 350 
Line 350 
                                 if (impl != NULL)                                  if (impl != NULL)
                                         continue;                                          continue;
                         }                          }
                           free(s);
                           return 0;
                   } else if (plain_only && sshkey_type_is_cert(type)) {
                         free(s);                          free(s);
                         return 0;                          return 0;
                 }                  }

Legend:
Removed from v.1.135  
changed lines
  Added in v.1.136