[libvirt] [PATCH v3] remote: Add extra parameter pkipath for URI
Daniel Veillard
veillard at redhat.com
Thu Jan 27 08:38:48 UTC 2011
On Thu, Jan 27, 2011 at 02:08:36PM +0800, Osier Yang wrote:
> This new parameter allows user specifies where the client
> cerficate, client key, CA certificate of x509 is, instead of
> hardcoding it. If 'pkipath' is not specified, and the user
> is not root, try to find files in $HOME/.pki/libvirt, as long
> as one of client cerficate, client key, CA certificate can
> not be found, use default global location (LIBVIRT_CACERT,
> LIBVIRT_CLIENTCERT, LIBVIRT_CLIENTKEY, see
> src/remote/remote_driver.h)
[...]
> +
> + if (virAsprintf(&user_pki_path, "%s/.pki/libvirt", userdir) < 0)
> + goto out_of_memory;
> +
okay, this fixes the problem in v2, ACK, and pushed,
thanks !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list