style
This commit is contained in:
1 parent
3fd8be2a47
commit
5b58e438b1
4 files changed
+36
-18
No files matched your search
@@ -3439,10 +3439,10 @@ static int CmdAtrLookup(const char *Cmd) {
|
||||
PrintAndLogEx(INFO, "ISO7816-3 ATR... " _YELLOW_("%s"), data);
|
||||
PrintAndLogEx(INFO, "Fingerprint...");
|
||||
|
||||
char *copy = str_dup(getAtrInfo((char*)data));
|
||||
char *copy = str_dup(getAtrInfo((char *)data));
|
||||
|
||||
char * token = strtok(copy, "\n");
|
||||
while ( token != NULL ) {
|
||||
char *token = strtok(copy, "\n");
|
||||
while (token != NULL) {
|
||||
PrintAndLogEx(INFO, " %s", token);
|
||||
token = strtok(NULL, "\n");
|
||||
}
|
||||
|
||||
@@ -102,6 +102,7 @@ const static vocabulory_t vocabulory[] = {
|
||||
{ 1, "data convertbitstream" },
|
||||
{ 1, "data getbitstream" },
|
||||
{ 1, "data asn1" },
|
||||
{ 1, "data atr" },
|
||||
{ 1, "data bin2hex" },
|
||||
{ 0, "data bitsamples" },
|
||||
{ 1, "data clear" },
|
||||
|
||||
Reference in new issue
Block a user