[libvirt] [PATCH 2/3] remote: fix logic for known_hosts and keyfile checks

Peter Krempa pkrempa at redhat.com
Tue Jan 10 18:52:51 UTC 2017


On Tue, Jan 10, 2017 at 19:43:19 +0100, Pino Toscano wrote:
> If any of them is specified for the libssh and libssh2 drivers, there is
> no need to depend on chec ks based on other paths: in particular, a

s/chec ks/checks/

> specified path for known_hosts was ignored if the local config directory
> could not be determined, and the path for keyfile was ignored if the
> home could not be determined.
> 
> Instead, lazily determine and use these two paths only in case they are
> needed.
> ---
>  src/rpc/virnetclient.c | 52 +++++++++++++++++++++++++++-----------------------
>  1 file changed, 28 insertions(+), 24 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/7f435135/attachment-0001.sig>


More information about the libvir-list mailing list