Searched refs:hostkeys (Results 1 - 6 of 6) sorted by relevance

/macosx-10.10/OpenSSH-189/openssh/
H A Dhostfile.h32 struct hostkeys;
34 struct hostkeys *init_hostkeys(void);
35 void load_hostkeys(struct hostkeys *, const char *, const char *);
36 void free_hostkeys(struct hostkeys *);
38 HostStatus check_key_in_hostkeys(struct hostkeys *, Key *,
40 int lookup_key_in_hostkeys_by_type(struct hostkeys *, int,
H A Dhostfile.c66 struct hostkeys { struct
234 struct hostkeys *
237 struct hostkeys *ret = xcalloc(1, sizeof(*ret));
244 load_hostkeys(struct hostkeys *hostkeys, const char *host, const char *path) argument
314 hostkeys->entries = xrealloc(hostkeys->entries,
315 hostkeys->num_entries + 1, sizeof(*hostkeys->entries));
316 hostkeys
330 free_hostkeys(struct hostkeys *hostkeys) argument
348 check_key_not_revoked(struct hostkeys *hostkeys, Key *k) argument
382 check_hostkeys_by_key_or_type(struct hostkeys *hostkeys, Key *k, int keytype, const struct hostkey_entry **found) argument
441 check_key_in_hostkeys(struct hostkeys *hostkeys, Key *key, const struct hostkey_entry **found) argument
450 lookup_key_in_hostkeys_by_type(struct hostkeys *hostkeys, int keytype, const struct hostkey_entry **found) argument
[all...]
H A Dauth.c379 struct hostkeys *hostkeys; local
382 hostkeys = init_hostkeys();
383 load_hostkeys(hostkeys, host, sysfile);
397 load_hostkeys(hostkeys, host, user_hostfile);
402 host_status = check_key_in_hostkeys(hostkeys, key, &found);
412 free_hostkeys(hostkeys);
H A Dsshconnect.c78 static int show_other_keys(struct hostkeys *, Key *);
734 struct hostkeys *host_hostkeys, *ip_hostkeys;
1230 show_other_keys(struct hostkeys *hostkeys, Key *key) argument
1240 if (!lookup_key_in_hostkeys_by_type(hostkeys, type[i], &found))
H A Dsshconnect2.c113 struct hostkeys *hostkeys; local
117 /* Find all hostkeys for this hostname */
119 hostkeys = init_hostkeys();
121 load_hostkeys(hostkeys, hostname, options.user_hostfiles[i]);
123 load_hostkeys(hostkeys, hostname, options.system_hostfiles[i]);
141 if (lookup_key_in_hostkeys_by_type(hostkeys,
156 free_hostkeys(hostkeys);
1824 debug("No more client hostkeys for hostbased authentication.");
/macosx-10.10/OpenSSH-189/openssh/regress/
H A Dssh-com-client.sh46 # add hostkeys to known hosts
47 mkdir -p ${OBJ}/${USER}/hostkeys
48 HK=${OBJ}/${USER}/hostkeys/key_${PORT}_127.0.0.1

Completed in 89 milliseconds