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

Peter Krempa pkrempa at redhat.com
Tue Jan 10 18:48:42 UTC 2017


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170110/95a5bf3c/attachment-0001.sig>


More information about the libvir-list mailing list