summaryrefslogtreecommitdiffstats
path: root/server/smartcard.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-02-03 20:55:03 +0200
committerAlon Levy <alevy@redhat.com>2011-02-07 21:32:40 +0200
commitc7c6f9aed00b23bf97cb207ab88375dfc2027452 (patch)
treee04e350a742572ce27fd748565820748013b429f /server/smartcard.c
parent612f9744dff8a66964dbac6bae96bbb09c0e51a3 (diff)
downloadspice-c7c6f9aed00b23bf97cb207ab88375dfc2027452.tar.gz
spice-c7c6f9aed00b23bf97cb207ab88375dfc2027452.tar.xz
spice-c7c6f9aed00b23bf97cb207ab88375dfc2027452.zip
server/smartcard: ignore VSC_Init from client
Diffstat (limited to 'server/smartcard.c')
-rw-r--r--server/smartcard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/smartcard.c b/server/smartcard.c
index bd2cb25a..9fbeead9 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: