Home
last modified time | relevance | path

Searched refs:hashed_host (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/cmd/ssh/libssh/common/
H A Dhostfile.c208 char *cp, *cp2, *hashed_host; in check_host_in_hostfile_by_key_or_type() local
244 hashed_host = host_hash(host, cp, (u_int) (cp2 - cp)); in check_host_in_hostfile_by_key_or_type()
245 if (hashed_host == NULL) { in check_host_in_hostfile_by_key_or_type()
250 if (strncmp(hashed_host, cp, (u_int) (cp2 - cp)) != 0) in check_host_in_hostfile_by_key_or_type()
332 char *hashed_host = NULL; in add_host_to_hostfile() local
341 if ((hashed_host = host_hash(host, NULL, 0)) == NULL) { in add_host_to_hostfile()
347 fprintf(f, "%s ", store_hash ? hashed_host : host); in add_host_to_hostfile()