version 1.79, 2020/03/06 18:25:12 |
version 1.80, 2020/05/13 09:52:41 |
|
|
found) == HOST_FOUND); |
found) == HOST_FOUND); |
} |
} |
|
|
|
int |
|
lookup_marker_in_hostkeys(struct hostkeys *hostkeys, int want_marker) |
|
{ |
|
u_int i; |
|
|
|
for (i = 0; i < hostkeys->num_entries; i++) { |
|
if (hostkeys->entries[i].marker == (HostkeyMarker)want_marker) |
|
return 1; |
|
} |
|
return 0; |
|
} |
|
|
static int |
static int |
write_host_entry(FILE *f, const char *host, const char *ip, |
write_host_entry(FILE *f, const char *host, const char *ip, |
const struct sshkey *key, int store_hash) |
const struct sshkey *key, int store_hash) |