+2
−2
+7
−0
+1
−1
+1
−1
+5
−5
Loading
On some platforms, the implementation is such that a signed char
triggers a warning when used with is*() functions. On others, the
behavior is outright buggy when presented with a char that happens
to get promoted to a negative integer.
The safest thing is to cast the char that's used to an unsigned char.
Reviewed-by:
Andy Polyakov <appro@openssl.org>