Skip to content
Commit 18295f0c authored by Richard Levitte's avatar Richard Levitte
Browse files

Make sure to use unsigned char for is*() functions



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: default avatarAndy Polyakov <appro@openssl.org>
parent ef8ca6bd
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