- 24 Nov, 2015 4 commits
-
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com>
-
Marc-André Lureau authored
Show no if PCSC is disabled Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com>
-
- 19 Nov, 2015 3 commits
-
-
Marc-André Lureau authored
If the compiler in use is a C++ compiler, adds extern "C" around the header. Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com>
-
Marc-André Lureau authored
Only libcacard.h should be included directly. Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com>
-
Marc-André Lureau authored
vscard_common.h uses glib G_BYTE_ORDER macros. Include glib.h in the file, and thus move glib-2.0 as a Require package. Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com>
-
- 14 Oct, 2015 2 commits
-
-
Jeremy White authored
This gets it into the .gitignore, and gets it cleaned by a maintainer-clean.
-
Jeremy White authored
-
- 13 Oct, 2015 1 commit
-
-
Jeremy White authored
Fixes 'make check' on Debian.
-
- 12 Oct, 2015 2 commits
-
-
Christophe Fergeau authored
Without it, running autoreconf -fi from a tarball is going to spew a lot of warnings about this missing file, and afterwards, ./configure will generate version-less .pc files.
-
Marc-André Lureau authored
This test was not automated and is now redundant with make check tests Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
- 09 Oct, 2015 14 commits
-
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
So the whole project use the same log domain. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
A top-level header file is often easier to deal with for programs Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
It was not in the exported symbols, so it shouldn't hurt to remove it now. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Thomas Huth authored
'smatch' complains about two bugs and one style issue in card_7816.c: libcacard/card_7816.c:273 vcard_apdu_set_length() warn: should this be a bitwise op? libcacard/card_7816.c:295 vcard_apdu_set_length() warn: should this be a bitwise op? libcacard/card_7816.c:661 vcard7816_vm_process_apdu() warn: inconsistent indenting ... and indeed, the code seems to be wrong here. Let's fix this by using a bitwise OR instead of logical OR and by indenting the code with the right level. Signed-off-by:
Thomas Huth <thuth@linux.vnet.ibm.com> Reviewed-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Jeremy White authored
USE_PASSTHRU was not implemented and -p was useless. That option can be achieved using -e "use_hw=yes hw_type=passthru" Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Reviewed-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Jeremy White authored
Enable support for passthru (e.g. direct to pcsc) smart cards in the emul_options entry point in libcacard. Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Reviewed-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Jeremy White authored
This uses libpcsclite to provide direct communication with a smartcard. Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Reviewed-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Jeremy White authored
Also add an alias of 'nssemul' for the default card of hw=yes hw_type=cac. This allows the spice-gtk client to take a more human friendly set of arguments and relay them through to this code. Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Reviewed-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Jeremy White authored
As far as I can tell, the vreader_remove_reader function is not presently in use anywhere; I have an upcoming patch set that uses it. Signed-off-by:
Jeremy White <jwhite@codeweavers.com> Reviewed-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
(alternatively, we could simply require this to be installed, but it's very recent and the autofoo error is unfriendly) Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Reported by Michael Tokarev. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
- 08 Oct, 2015 4 commits
-
-
Fabiano Fidêncio authored
Otherwise the following errors can be faced: src/vscclient-vscclient.o: In function `send_msg': /home/ffidenci/src/upstream/libcacard/src/vscclient.c:122: undefined reference to `_imp__htonl@4' /home/ffidenci/src/upstream/libcacard/src/vscclient.c:124: undefined reference to `_imp__htonl@4' src/vscclient-vscclient.o: In function `on_host_init': /home/ffidenci/src/upstream/libcacard/src/vscclient.c:260: undefined reference to `_imp__ntohl@4' /home/ffidenci/src/upstream/libcacard/src/vscclient.c:273: undefined reference to `_imp__ntohl@4' src/vscclient-vscclient.o: In function `do_socket_read': /home/ffidenci/src/upstream/libcacard/src/vscclient.c:332: undefined reference to `_imp__ntohl@4' /home/ffidenci/src/upstream/libcacard/src/vscclient.c:333: undefined reference to `_imp__ntohl@4' /home/ffidenci/src/upstream/libcacard/src/vscclient.c:334: undefined reference to `_imp__ntohl@4' src/vscclient-vscclient.o: In function `connect_to_qemu': /home/ffidenci/src/upstream/libcacard/src/vscclient.c:615: undefined reference to `_imp__socket@12' /home/ffidenci/src/upstream/libcacard/src/vscclient.c:628: undefined reference to `_imp__getaddrinfo@16' /home/ffidenci/src/upstream/libcacard/src/vscclient.c:636: undefined reference to `_imp__connect@12' /home/ffidenci/src/upstream/libcacard/src/vscclient.c:645: undefined reference to `_imp__freeaddrinfo@4' /home/ffidenci/src/upstream/libcacard/src/vscclient.c:650: undefined reference to `_imp__freeaddrinfo@4' /home/ffidenci/src/upstream/libcacard/src/vscclient.c:652: undefined reference to `_imp__closesocket@4' src/vscclient-vscclient.o: In function `main': /home/ffidenci/src/upstream/libcacard/src/vscclient.c:676: undefined reference to `_imp__WSAStartup@8' /home/ffidenci/src/upstream/libcacard/src/vscclient.c:677: undefined reference to `_imp__WSAGetLastError@0' /home/ffidenci/src/upstream/libcacard/src/vscclient.c:778: undefined reference to `_imp__htonl@4' /home/ffidenci/src/upstream/libcacard/src/vscclient.c:791: undefined reference to `_imp__closesocket@4' collect2: error: ld returned 1 exit status Makefile:656: recipe for target 'vscclient.exe' failed make[2]: *** [vscclient.exe] Error 1 make[2]: Leaving directory '/home/ffidenci/src/upstream/libcacard' Makefile:774: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/ffidenci/src/upstream/libcacard' Makefile:495: recipe for target 'all' failed make: *** [all] Error 2
-
Fabiano Fidêncio authored
This header has the definition of getaddrinfo, according to: https://msdn.microsoft.com/en-us/library/windows/desktop/ms738520(v=vs.85).aspx
-
Fabiano Fidêncio authored
Otherwise the following problem can be faced: src/vscclient.c: In function 'connect_to_qemu': src/vscclient.c:642:16: error: unknown conversion type character 'z' in format [-Werror=format=] printf("Connected (sizeof Header=%zd)!\n", sizeof(VSCMsgHeader)); ^ src/vscclient.c:642:16: error: too many arguments for format [-Werror=format-extra-args]
-
Fabiano Fidêncio authored
Without removing cac_is_cac_card the following error can be faced: Cannot export cac_is_cac_card: symbol not defined collect2: error: ld returned 1 exit status Found a not so old QEMU thread about this: https://www.mail-archive.com/qemu-devel%40nongnu.org/msg291698.html
-
- 22 Sep, 2015 2 commits
-
-
Marc-André Lureau authored
-
Marc-André Lureau authored
vscclient needs gthread-2.0, and fails to link on rhel6 without it. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
- 21 Sep, 2015 2 commits
-
-
Marc-André Lureau authored
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
- 15 Sep, 2015 6 commits
-
-
Marc-André Lureau authored
autofoo-ize Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Veres Lajos authored
Signed-off-by:
Veres Lajos <vlajos@gmail.com> Signed-off-by:
Michael Tokarev <mjt@tls.msk.ru>
-
Daniel P. Berrange authored
Many source files have doubled words (eg "the the", "to to", and so on). Most of these can simply be removed, but a couple were actual mis-spellings (eg "to to" instead of "to do"). There was even one triple word score "to to to" :-) Signed-off-by:
Daniel P. Berrange <berrange@redhat.com> Reviewed-by:
Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by:
Markus Armbruster <armbru@redhat.com> Signed-off-by:
Michael Tokarev <mjt@tls.msk.ru>
-