Commit 33d69a7e authored by Alice Mitchell's avatar Alice Mitchell

Fix upper case hex decoding

parent 4b8d96ef
Pipeline #551 passed with stage
in 8 minutes and 1 second
......@@ -43,7 +43,7 @@ static int hex_decode(const char *input, int len)
total |= (*input - 'a') + 10;
else
if (*input >= 'A' && *input <= 'F')
total |= (*input - 'a') + 10;
total |= (*input - 'A') + 10;
input++;
i++;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment