jl777 8 years ago
parent
commit
b1eba67909
  1. 2
      crypto777/iguana_utils.c

2
crypto777/iguana_utils.c

@ -365,7 +365,7 @@ int32_t decode_hex(unsigned char *bytes,int32_t n,char *hex)
return(n);
}
if ( hex[n-1] == '\n' || hex[n-1] == '\r' )
n--;
hex[--n] = 0;
if ( n == 0 || (hex[n*2+1] == 0 && hex[n*2] != 0) )
{
if ( n > 0 )

Loading…
Cancel
Save