]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhffido.c
emv/sc fixes and modifications: (#780)
[proxmark3-svn] / client / cmdhffido.c
index 9c8128603f0b8eef5e0f8a73fbd0aec058f6da9e..8a98cf19fdfdf41bd513b4c4bac3966e4a8c1df3 100644 (file)
@@ -40,6 +40,7 @@
 #include "emv/emvcore.h"
 #include "emv/emvjson.h"
 #include "emv/dump.h"
+#include "emv/apduinfo.h"
 #include "cliparser/cliparser.h"
 #include "crypto/asn1utils.h"
 #include "crypto/libpcrypto.h"
@@ -61,7 +62,7 @@ int CmdHFFidoInfo(const char *cmd) {
        PrintAndLog("--------------------------------------------"); 
        SetAPDULogging(false);
        
-       uint8_t buf[APDU_RES_LEN] = {0};
+       uint8_t buf[APDU_RESPONSE_LEN] = {0};
        size_t len = 0;
        uint16_t sw = 0;
        int res = FIDOSelect(true, true, buf, sizeof(buf), &len, &sw);
Impressum, Datenschutz