summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-07-20 23:48:06 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2013-01-30 16:59:53 +0100
commita08befa37af445c2ed4ddeafb7251ac9ee3c574e (patch)
treec7ab708dc3a676cd28f664f5d87eed7deca773db
parentc1e5df694d94277b491426485cab40c6bb04f4e6 (diff)
spice: add SpiceDisplay:ca_file property
When a TLS SPICE connection is used, a CA certificate must be known to the SPICE connection in order to validate the certificate presented by the server we are connecting to. https://bugzilla.gnome.org/show_bug.cgi?id=681747
-rw-r--r--src/spice-display.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/spice-display.vala b/src/spice-display.vala
index ad55b8e..28657b4 100644
--- a/src/spice-display.vala
+++ b/src/spice-display.vala
@@ -5,6 +5,7 @@ using Spice;
private class Boxes.SpiceDisplay: Boxes.Display {
public override string protocol { get { return "SPICE"; } }
public override string uri { owned get { return session.uri; } }
+ public string ca_file { owned get { return session.ca_file; } set { session.ca_file = value; } }
private Spice.Session session;
private unowned Spice.GtkSession gtk_session;