Displaying 1 result from an estimated 1 matches for "current_host".
2012 Dec 27
3
[PATCH] hostfile: list known names (if any) for new hostkeys
...stkeys(struct hostkeys *hostkeys, const char *host, const char *path)
+load_hostkeys(struct hostkeys *hostkeys, const char *lookup_host,
+ const Key *lookup_key, const char *path)
{
FILE *f;
char line[8192];
u_long linenum = 0, num_loaded = 0;
char *cp, *cp2, *hashed_host;
+ const char *current_host;
HostkeyMarker marker;
Key *key;
int kbits;
if ((f = fopen(path, "r")) == NULL)
return;
- debug3("%s: loading entries for host \"%.100s\" from file \"%s\"",
- __func__, host, path);
+ debug3("%s: loading entries for host \"%.100s\&q...