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

Fix upper case hex decoding

parent 4b8d96ef
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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++;
	}