pcsc-relay: fixed handling ATR for vpcd emulator

This commit is contained in:
Frank Morgner
2015-03-18 07:54:44 +01:00
parent 798fb9ba0d
commit 6dfab7fbf1
4 changed files with 12 additions and 16 deletions

View File

@@ -26,6 +26,13 @@ typedef int ssize_t;
#include <unistd.h>
#endif
#define VPCD_CTRL_LEN 1
#define VPCD_CTRL_OFF 0
#define VPCD_CTRL_ON 1
#define VPCD_CTRL_RESET 2
#define VPCD_CTRL_ATR 4
struct vicc_ctx {
int server_sock;
int client_sock;