X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/99789601dcc6c6b347d857fb2d32c9d1ef52d43d..6c38d4c96fa96c871c739718081caa5e56ce968a:/client/cmdcrc.c?ds=inline

diff --git a/client/cmdcrc.c b/client/cmdcrc.c
index 82b1f8b8..666b4a8e 100644
--- a/client/cmdcrc.c
+++ b/client/cmdcrc.c
@@ -271,7 +271,6 @@ int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *res
 	int ibperhx = 8, obperhx = 8;
 	int rflags = 0; // search flags 
 	int c;
-	unsigned long width = 0UL;
 	poly_t apoly, crc;
 
 	char *string;
@@ -290,8 +289,6 @@ int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *res
 	if(c < 0)
 		return uerr("no preset models available");
 
-	// must set width so that parameter to -ipx is not zeroed 
-	width = plen(model.spoly);
 	rflags |= R_HAVEP | R_HAVEI | R_HAVERI | R_HAVERO | R_HAVEX;
 	
 	//set flags
@@ -430,14 +427,14 @@ int CmdrevengSearch(const char *Cmd){
 		if (ans) {
 			//test for match
 			if (memcmp(result, inCRC, crcChars)==0){
-				PrintAndLog("\nFound a match!\nModel: %s\nValue: %s\n",Models[i], result);
+				PrintAndLog("\nFound a possible match!\nModel: %s\nValue: %s\n",Models[i], result);
 				//optional - stop searching if found...
 				found = true;
 			} else {
 				if (crcChars > 2){
 					char *swapEndian = SwapEndianStr(result, crcChars, crcChars);
 					if (memcmp(swapEndian, inCRC, crcChars)==0){
-						PrintAndLog("\nFound a match!\nModel: %s\nValue EndianSwapped: %s\n",Models[i], swapEndian);
+						PrintAndLog("\nFound a possible match!\nModel: %s\nValue EndianSwapped: %s\n",Models[i], swapEndian);
 						//optional - stop searching if found...
 						found = true;
 					}
@@ -451,14 +448,14 @@ int CmdrevengSearch(const char *Cmd){
 			if (ans) {
 				//test for match
 				if (memcmp(revResult, inCRC, crcChars)==0){
-					PrintAndLog("\nFound a match!\nModel Reversed: %s\nValue: %s\n",Models[i], revResult);
+					PrintAndLog("\nFound a possible match!\nModel Reversed: %s\nValue: %s\n",Models[i], revResult);
 					//optional - stop searching if found...
 					found = true;
 				} else {
 					if (crcChars > 2){
 						char *swapEndian = SwapEndianStr(revResult, crcChars, crcChars);
 						if (memcmp(swapEndian, inCRC, crcChars)==0){
-							PrintAndLog("\nFound a match!\nModel Reversed: %s\nValue EndianSwapped: %s\n",Models[i], swapEndian);
+							PrintAndLog("\nFound a possible match!\nModel Reversed: %s\nValue EndianSwapped: %s\n",Models[i], swapEndian);
 							//optional - stop searching if found...
 							found = true;
 						}
@@ -473,4 +470,4 @@ int CmdrevengSearch(const char *Cmd){
 	}
 	if (!found) PrintAndLog("\nNo matches found\n");
 	return 1;
-}
\ No newline at end of file
+}