]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
true fix #472 ))) 475/head
authormerlokk <olegmsn@gmail.com>
Fri, 10 Nov 2017 23:28:20 +0000 (01:28 +0200)
committermerlokk <olegmsn@gmail.com>
Fri, 10 Nov 2017 23:28:20 +0000 (01:28 +0200)
client/emv/apduinfo.c

index d1491cc38d2bc6d66d54fc9058fe80b572e05f0c..ec7a64a199ef1a35b1a89df959846c0210c9e969 100644 (file)
@@ -283,8 +283,8 @@ const APDUCode* const GetAPDUCode(uint8_t sw1, uint8_t sw2) {
        int mineq = 100;
        int mineqindx = 0;
        
        int mineq = 100;
        int mineqindx = 0;
        
-       sprintf(&buf[0], "%02X ", sw1);
-       sprintf(&buf[2], "%02X ", sw2);
+       sprintf(&buf[0], "%02X", sw1);
+       sprintf(&buf[2], "%02X", sw2);
        
        for (int i = 0; i < APDUCodeTableLen; i++) {
                res = CodeCmp(APDUCodeTable[i].ID, buf);
        
        for (int i = 0; i < APDUCodeTableLen; i++) {
                res = CodeCmp(APDUCodeTable[i].ID, buf);
Impressum, Datenschutz