[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH v3 4/4] rpc: replacing ssh_write_knownhost() by ssh_session_update_known_hosts().



On Sat, 2018-11-24 at 03:52 +0800, Julio Faracco wrote:
[...]
>          /* write the host key file, if specified */
>          if (sess->knownHostsFile) {
> -            if (ssh_write_knownhost(sess->session) < 0) {
> +            if (ssh_session_update_known_hosts(sess->session) < 0) {
>                  errmsg = ssh_get_error(sess->session);
>                  virReportError(VIR_ERR_LIBSSH,
>                                 _("failed to write known_host file '%s': %s"),

Looks good.

-- 
Andrea Bolognani / Red Hat / Virtualization


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]