summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-05-09 11:49:43 +0300
committerAlon Levy <alevy@redhat.com>2012-05-09 11:49:43 +0300
commit59295182c102eb4e19cba3d4d641eb96f7c4aa75 (patch)
tree6b97b7a30ec62380a858822921ff11b9652edf74
parent459a1ab407cf42e3612e200ad2f83230f1bb6e96 (diff)
SetSSLChannels: add ssmartcard, susbredir, stunnel
Adding some more channels to the RHEL 5 list. The longer winded story is that ovirt-engine passes us those values because vdsm unconditionally removes the first letter of every channel name in the secure channels list (aka SSLChannels here). Instead of changing vdsm, and dealing with multiple vdsm versions for each cluster, a huge PITA, let spice-xpi parse some extra channel names. RHBZ: 790416
-rw-r--r--SpiceXPI/src/plugin/plugin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/SpiceXPI/src/plugin/plugin.cpp b/SpiceXPI/src/plugin/plugin.cpp
index 906c985..b7f61ba 100644
--- a/SpiceXPI/src/plugin/plugin.cpp
+++ b/SpiceXPI/src/plugin/plugin.cpp
@@ -337,7 +337,8 @@ void nsPluginInstance::SetSSLChannels(const char *aSSLChannels)
*/
const char* chan_names[] = {
"smain", "sdisplay", "sinputs",
- "scursor", "splayback", "srecord"
+ "scursor", "splayback", "srecord",
+ "susbredir", "ssmartcard", "stunnel"
};
const int nnames = sizeof(chan_names) / sizeof(chan_names[0]);