Return to auth2-pubkey.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.75, 2018/01/23 05:27:21 | version 1.76, 2018/02/07 22:52:45 | ||
---|---|---|---|
|
|
||
/* Always consume entire file */ | /* Always consume entire file */ | ||
if (found_key) | if (found_key) | ||
continue; | continue; | ||
if (found != NULL) | sshkey_free(found); | ||
sshkey_free(found); | |||
found = sshkey_new(sshkey_is_cert(key) ? KEY_UNSPEC : key->type); | found = sshkey_new(sshkey_is_cert(key) ? KEY_UNSPEC : key->type); | ||
if (found == NULL) | if (found == NULL) | ||
goto done; | goto done; | ||
|
|
||
} | } | ||
} | } | ||
done: | done: | ||
if (found != NULL) | sshkey_free(found); | ||
sshkey_free(found); | |||
if (!found_key) | if (!found_key) | ||
debug2("key not found"); | debug2("key not found"); | ||
return found_key; | return found_key; |