diff options
author | Alon Levy <alevy@redhat.com> | 2011-01-25 16:05:45 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-01-25 17:16:18 +0200 |
commit | 5a2ef3b21cd9ee1408a3c09d9a0ced363c8086f4 (patch) | |
tree | 5aa84042cb3affba0660963da41f946b8470a238 /server/reds.c | |
parent | c29e4f9dd852231f04877ea700f0c3686f4500f3 (diff) | |
download | spice-5a2ef3b21cd9ee1408a3c09d9a0ced363c8086f4.tar.gz spice-5a2ef3b21cd9ee1408a3c09d9a0ced363c8086f4.tar.xz spice-5a2ef3b21cd9ee1408a3c09d9a0ced363c8086f4.zip |
client/server: add missing smartchannel channel security handling
The name to channel id mapping for the smartcard channel is missing,
add it in client and server.
Diffstat (limited to 'server/reds.c')
-rw-r--r-- | server/reds.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/reds.c b/server/reds.c index 97e4623f..7f10f4d1 100644 --- a/server/reds.c +++ b/server/reds.c @@ -3018,6 +3018,9 @@ __visible__ int spice_server_set_channel_security(SpiceServer *s, const char *ch [ SPICE_CHANNEL_PLAYBACK ] = "playback", [ SPICE_CHANNEL_RECORD ] = "record", [ SPICE_CHANNEL_TUNNEL ] = "tunnel", +#ifdef USE_SMARTCARD + [ SPICE_CHANNEL_SMARTCARD] = "smartcard", +#endif }; int i; |