summaryrefslogtreecommitdiffstats
path: root/src/remote-viewer.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2013-09-16 14:50:49 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2013-10-30 10:52:53 +0100
commit9eb3747f1f0b27d5aa4c7fc9e1fccb8b21520b23 (patch)
tree9d4ee05c111894249fc4de50b4da8389ddc7fd89 /src/remote-viewer.c
parent8df64ae4eca75618a9a60885695df4880c2f76fa (diff)
downloadvirt-viewer-9eb3747f1f0b27d5aa4c7fc9e1fccb8b21520b23.tar.gz
virt-viewer-9eb3747f1f0b27d5aa4c7fc9e1fccb8b21520b23.tar.xz
virt-viewer-9eb3747f1f0b27d5aa4c7fc9e1fccb8b21520b23.zip
ovirt: Honour oVirt command line options
libgovirt 0.3.0 and newer can be passed from the commandline a CA certificate to use during SSL communications. This commit adds support for this option to remote-viewer.
Diffstat (limited to 'src/remote-viewer.c')
-rw-r--r--src/remote-viewer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remote-viewer.c b/src/remote-viewer.c
index a1bf472..a4ed877 100644
--- a/src/remote-viewer.c
+++ b/src/remote-viewer.c
@@ -739,6 +739,7 @@ create_ovirt_session(VirtViewerApp *app, const char *uri)
proxy = ovirt_proxy_new(rest_uri);
if (proxy == NULL)
goto error;
+ ovirt_set_proxy_options(proxy);
g_signal_connect(G_OBJECT(proxy), "authenticate",
G_CALLBACK(authenticate_cb), app);