Re: [PATCH 1/3] rpc: libssh: allow a NULL known_hosts file

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

 



On Tue, Jan 10, 2017 at 19:43:18 +0100, Pino Toscano wrote:
> Make sure that virNetLibsshSessionSetHostKeyVerification accepts a NULL
> value for the path to the known_hosts file:
> - call ssh_options_set(SSH_OPTIONS_KNOWNHOSTS) anyway, using /dev/null,
>   otherwise libssh will use its default path
> - do not call ssh_write_knownhost when no known hosts file was set
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1406457
> ---
>  src/rpc/virnetlibsshsession.c | 37 +++++++++++++++++++++++--------------
>  1 file changed, 23 insertions(+), 14 deletions(-)

ACK

Attachment: signature.asc
Description: PGP signature

--
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