• Home
  • Raw
  • Download

Lines Matching refs:entries

62 	struct hostkey_entry *entries;  member
234 ret->entries = NULL; in init_hostkeys()
309 hostkeys->entries = xrealloc(hostkeys->entries, in load_hostkeys()
310 hostkeys->num_entries + 1, sizeof(*hostkeys->entries)); in load_hostkeys()
311 hostkeys->entries[hostkeys->num_entries].host = xstrdup(host); in load_hostkeys()
312 hostkeys->entries[hostkeys->num_entries].file = xstrdup(path); in load_hostkeys()
313 hostkeys->entries[hostkeys->num_entries].line = linenum; in load_hostkeys()
314 hostkeys->entries[hostkeys->num_entries].key = key; in load_hostkeys()
315 hostkeys->entries[hostkeys->num_entries].marker = marker; in load_hostkeys()
330 xfree(hostkeys->entries[i].host); in free_hostkeys()
331 xfree(hostkeys->entries[i].file); in free_hostkeys()
332 key_free(hostkeys->entries[i].key); in free_hostkeys()
333 bzero(hostkeys->entries + i, sizeof(*hostkeys->entries)); in free_hostkeys()
335 if (hostkeys->entries != NULL) in free_hostkeys()
336 xfree(hostkeys->entries); in free_hostkeys()
337 hostkeys->entries = NULL; in free_hostkeys()
349 if (hostkeys->entries[i].marker != MRK_REVOKE) in check_key_not_revoked()
351 if (key_equal_public(k, hostkeys->entries[i].key)) in check_key_not_revoked()
355 hostkeys->entries[i].key)) in check_key_not_revoked()
390 if (proto == 1 && hostkeys->entries[i].key->type != KEY_RSA1) in check_hostkeys_by_key_or_type()
392 if (proto == 2 && hostkeys->entries[i].key->type == KEY_RSA1) in check_hostkeys_by_key_or_type()
394 if (hostkeys->entries[i].marker != want_marker) in check_hostkeys_by_key_or_type()
397 if (hostkeys->entries[i].key->type != keytype) in check_hostkeys_by_key_or_type()
401 *found = hostkeys->entries + i; in check_hostkeys_by_key_or_type()
402 k = hostkeys->entries[i].key; in check_hostkeys_by_key_or_type()
407 hostkeys->entries[i].key)) { in check_hostkeys_by_key_or_type()
411 *found = hostkeys->entries + i; in check_hostkeys_by_key_or_type()
415 if (key_equal(k, hostkeys->entries[i].key)) { in check_hostkeys_by_key_or_type()
418 *found = hostkeys->entries + i; in check_hostkeys_by_key_or_type()
424 *found = hostkeys->entries + i; in check_hostkeys_by_key_or_type()