Return to hostfile.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.83, 2020/10/04 09:45:01 | version 1.84, 2020/10/07 02:25:43 | ||
---|---|---|---|
|
|
||
else | else | ||
error("%s: sshkey_write failed: %s", __func__, ssh_err(r)); | error("%s: sshkey_write failed: %s", __func__, ssh_err(r)); | ||
fputc('\n', f); | fputc('\n', f); | ||
/* If hashing is enabled, the IP address needs to go on its own line */ | |||
if (success && store_hash && ip != NULL) | |||
success = write_host_entry(f, ip, NULL, key, 1); | |||
return success; | return success; | ||
} | } | ||