]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/epa.c
Fixed indentation
[proxmark3-svn] / armsrc / epa.c
index 497bd9de618584d233929951d2bddea171bc05f7..fb19656d1dd1d345a8c72f016415691a47e8c9a3 100644 (file)
@@ -108,9 +108,9 @@ size_t EPA_Parse_CardAccess(uint8_t *data,
                if (data[index] == 0x31 || data[index] == 0x30) {
                        // enter the set (skip tag + length)
                        index += 2;
                if (data[index] == 0x31 || data[index] == 0x30) {
                        // enter the set (skip tag + length)
                        index += 2;
-                       // extended length
+                       // check for extended length
                        if ((data[index - 1] & 0x80) != 0) {
                        if ((data[index - 1] & 0x80) != 0) {
-                               index += (data[index] & 0x7F);
+                               index += (data[index-1] & 0x7F);
                        }
                }
                // OID
                        }
                }
                // OID
Impressum, Datenschutz