summaryrefslogtreecommitdiffstats
path: root/server/inputs_channel.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-01-06 22:37:45 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2014-01-20 12:15:42 +0100
commit30fecf87f86f4f8343182cd0f3348f9c8a59e92b (patch)
treeb40e15e6dc2778b2df3c1999704e23b38492ff01 /server/inputs_channel.c
parent1f7123298fbebce4134e12b33d35fe62621f631b (diff)
downloadspice-30fecf87f86f4f8343182cd0f3348f9c8a59e92b.tar.gz
spice-30fecf87f86f4f8343182cd0f3348f9c8a59e92b.tar.xz
spice-30fecf87f86f4f8343182cd0f3348f9c8a59e92b.zip
Introduce reds_stream_is_ssl()
Diffstat (limited to 'server/inputs_channel.c')
-rw-r--r--server/inputs_channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/inputs_channel.c b/server/inputs_channel.c
index 8d4feaba..395b81fc 100644
--- a/server/inputs_channel.c
+++ b/server/inputs_channel.c
@@ -551,7 +551,7 @@ static void inputs_connect(RedChannel *channel, RedClient *client,
spice_assert(g_inputs_channel);
spice_assert(channel == &g_inputs_channel->base);
- if (!stream->ssl && !red_client_during_migrate_at_target(client)) {
+ if (!reds_stream_is_ssl(stream) && !red_client_during_migrate_at_target(client)) {
main_channel_client_push_notify(red_client_get_main(client),
"keyboard channel is insecure");
}