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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux