Merge branch 'master' into fix_printf

This commit is contained in:
pwpiwi 2017-12-28 18:23:41 +01:00
commit 96be871374
9 changed files with 18 additions and 14 deletions

View file

@ -8,6 +8,7 @@
// EMV commands
//-----------------------------------------------------------------------------
#include <ctype.h>
#include "cmdemv.h"
#include "test/cryptotest.h"
@ -69,7 +70,7 @@ int CmdHFEMVSelect(const char *cmd) {
return 1;
}
if (isxdigit(c)) {
if (isxdigit((unsigned char)c)) {
switch(param_gethex_to_eol(cmd, cmdp, data, sizeof(data), &datalen)) {
case 1:
PrintAndLog("Invalid HEX value.");