]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhflist.c
small fix and added line to changelog.
[proxmark3-svn] / client / cmdhflist.c
index bbfb24c89da4209292ff6482251250debcbdb95d..82e35c271267ab131b82a0d7c504fc92e3a9e029 100644 (file)
@@ -325,11 +325,12 @@ void annotateMifare(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize, uint8
                        if (cmdsize == 4 && isResponse) {
                                snprintf(exp,size,"AUTH: nt %s", (AuthData.first_auth) ? "" : "(enc)");
                                MifareAuthState = masNrAr;
-                               if (AuthData.first_auth)
+                               if (AuthData.first_auth) {
                                        AuthData.nt = bytes_to_num(cmd, 4);
-                               else
+                               } else {
                                        AuthData.nt_enc = bytes_to_num(cmd, 4);
                                        AuthData.nt_enc_par = parity[0];
+                               }
                                return;
                        } else {
                                MifareAuthState = masError;
Impressum, Datenschutz