CHG: Some warnings in cmdhflegic.c is solved.
crc_update(&crc, 1, 1); /* CMD_READ */
crc_update(&crc, cmd[0], 8);
crc_update(&crc, cmd[1], 8);
crc_update(&crc, 1, 1); /* CMD_READ */
crc_update(&crc, cmd[0], 8);
crc_update(&crc, cmd[1], 8);
- printf("crc4 %X\n", crc_finish(&crc), 4 ) ;
+ printf("crc4 %X\n", crc_finish(&crc) ) ;
printf("---- old ---\n");
crc_update2(&crc, 1, 1); /* CMD_READ */
printf("---- old ---\n");
crc_update2(&crc, 1, 1); /* CMD_READ */
crc_update2(&crc, 1, 1); /* CMD_READ */
crc_update2(&crc, cmd[0], 8);
crc_update2(&crc, cmd[1], 8);
crc_update2(&crc, 1, 1); /* CMD_READ */
crc_update2(&crc, cmd[0], 8);
crc_update2(&crc, cmd[1], 8);
- printf("crc4 %X\n", crc_finish(&crc), 4 ) ;
+ printf("crc4 %X\n", crc_finish(&crc) ) ;
}
int CmdLegicCalcCrc8(const char *Cmd){
}
int CmdLegicCalcCrc8(const char *Cmd){
make clean
## coverity build
make clean
## coverity build
-cov-build --dir cov-int make all UBUNTU_1404_QT4=1
+cov-build --dir cov-int make all
## create tarball
tar cfz proxmark3.all.`date --date now +%Y%m%d%H%M%S`.tgz cov-int
## create tarball
tar cfz proxmark3.all.`date --date now +%Y%m%d%H%M%S`.tgz cov-int