summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-02-03 20:55:03 +0200
committerAlon Levy <alevy@redhat.com>2011-02-10 10:34:42 +0200
commit0d6550ed60a7dc4e8e0819e7d580616925fc3e4f (patch)
treeca789328e58d1804b1b0022e41e041960a0c0f2a
parent21d1ec600b3964f1ac5928a71a9ae4c22b7dbb44 (diff)
downloadspice-0d6550ed60a7dc4e8e0819e7d580616925fc3e4f.tar.gz
spice-0d6550ed60a7dc4e8e0819e7d580616925fc3e4f.tar.xz
spice-0d6550ed60a7dc4e8e0819e7d580616925fc3e4f.zip
server/smartcard: ignore VSC_Init from client
-rw-r--r--server/smartcard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/smartcard.c b/server/smartcard.c
index 65164c85..916d2f1d 100644
--- a/server/smartcard.c
+++ b/server/smartcard.c
@@ -443,6 +443,9 @@ static int smartcard_channel_handle_message(RedChannel *channel, SpiceDataHeader
return TRUE;
break;
case VSC_Init:
+ // ignore - we should never get this anyway
+ return TRUE;
+ break;
case VSC_Error:
case VSC_ATR:
case VSC_CardRemove: