fix ATR length (#790)
authorpwpiwi <pwpiwi@users.noreply.github.com>
Tue, 26 Feb 2019 18:48:25 +0000 (19:48 +0100)
committerGitHub <noreply@github.com>
Tue, 26 Feb 2019 18:48:25 +0000 (19:48 +0100)
* TS, T0, T[A-D][1-4], max. 15 HB, TCK = 34 Bytes

include/smartcard.h

index 82b346f5abb42ec1f06136e76d647a48c7be5173..161c6f6d6d47772d3fc88f9abf5711142daa8c5b 100644 (file)
@@ -17,7 +17,7 @@
 //-----------------------------------------------------------------------------
 typedef struct {
        uint8_t atr_len;
-       uint8_t atr[30];
+       uint8_t atr[34];
 } __attribute__((__packed__)) smart_card_atr_t;
 
 typedef enum SMARTCARD_COMMAND {
Impressum, Datenschutz