1. 16 Dec, 2013 1 commit
  2. 09 Dec, 2013 1 commit
    • Stefan Weil's avatar
      libcacard: Fix compilation for older versions of glib (bug #1258168) · 5ad04fb6
      Stefan Weil authored
      See https://bugs.launchpad.net/bugs/1258168
      
      libcacard/vscclient.c: In function 'do_socket_read':
      libcacard/vscclient.c:410: warning: implicit declaration of function 'g_warn_if_reached'
      libcacard/vscclient.c:410: warning: nested extern declaration of 'g_warn_if_reached'
      libcacard/vscclient.c: In function 'main':
      libcacard/vscclient.c:763: warning: implicit declaration of function 'g_byte_array_unref'
      libcacard/vscclient.c:763: warning: nested extern declaration of 'g_byte_array_unref'
      ...
      libcacard/vscclient.o: In function `do_socket_read':
      libcacard/vscclient.c:410: undefined reference to `g_warn_if_reached'
      libcacard/vscclient.o: In function `main':
      libcacard/vscclient.c:763: undefined reference to `g_byte_array_unref'
      
      g_warn_if_reached was added in glib 2.16, and g_byte_array_unref is
      supported since glib 2.22. QEMU requires glib 2.12, so both names must
      not be used.
      
      Instead of showing a warning for code which should not be reached,
      vscclient better stop running, so g_warn_if_reached is not useful for
      vscclient.
      
      In libcacard/vsclient.c, g_byte_array_unref can be replaced by
      g_byte_array_free. This is not generally true, so adding a compatibility
      layer in include/glib-compat.h is no option here.
      Reported-by: default avatarLaurent Desnogues <laurent.desnogues@gmail.com>
      Reported-by: default avatarDon Slutz <dslutz@verizon.com>
      Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
      5ad04fb6
  3. 20 Sep, 2013 1 commit
  4. 12 Jun, 2013 1 commit
  5. 24 Apr, 2013 3 commits
  6. 30 Jan, 2013 1 commit
  7. 19 Dec, 2012 1 commit
  8. 08 Mar, 2012 2 commits
  9. 25 Oct, 2011 1 commit
  10. 29 Aug, 2011 1 commit
  11. 21 Aug, 2011 1 commit
  12. 02 Apr, 2011 1 commit
    • Robert Relyea's avatar
      libcacard: add vscclient · 2ac85b93
      Robert Relyea authored
      client to talk to ccid-card-passthru and use smartcard on client to
      perform actual operations.
      
      v23->v24 changes: (Jes Sorensen review 2)
       * use qemu_socket instead of socket
       * use fprintf(stderr,..) for errors
       * remove unneccessary includes since using qemu_common.h
      2ac85b93