Return to sshkey.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.135, 2023/03/31 03:22:49 | version 1.136, 2023/06/21 05:10:26 | ||
---|---|---|---|
|
|
||
} | } | ||
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; | ||
|
|
||
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; | ||
} | } |