[Spice-devel] [PATCH 0/8] libcacard 0.1.2 updates

Alon Levy alevy at redhat.com
Thu Feb 3 11:02:51 PST 2011


Update smartcard support for changes to libcacard:
 * server
  * use network byte order when talking to device.
 * both
  * no more reader_id_t, uint32_t instead
  * no more ReaderAddResponse, use VSC_Error with
    code==VSC_SUCCESS instead.
  * change an assert to a red_printf("error:..")
    if got an unexpectedly undefined reader id.
 * client
  * track number of expected reader insertions

Alon Levy (8):
  server/smartcard: s/reader_id_t/uint32_t/ (libcacard changed)
  server/smartcard: libcacard removed ReaderAddResponse
  client/smartcard: s/reader_id_t/uint32_t/ (libcacard changed)
  client/smartcard: libcacard dropped ReaderAddResponse
  client/smartcard: ignore VSC_Init
  server/smartcard: libcacard uses network byte order, so we must too
  server/smartcard: print instead of assert on bad reader_id in
    smartcard_char_device_on_message_from_device
  server/smartcard: ignore VSC_Init from client

 client/smartcard_channel.cpp |   39 +++++++++++-------
 client/smartcard_channel.h   |   13 +++---
 server/smartcard.c           |   88 ++++++++++++++++-------------------------
 3 files changed, 65 insertions(+), 75 deletions(-)

-- 
1.7.4



More information about the Spice-devel mailing list