Unsigned chars can't be negative
authorMatt Caswell <matt@openssl.org>
Mon, 18 Apr 2016 14:12:58 +0000 (15:12 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 18 Apr 2016 14:12:58 +0000 (15:12 +0100)
commit235f9329304ab9e75e43dc5a409901fc3b3de9ca
tree3b937f2a1c9b86fd915ca2ff38f756f753631a02
parent36c6f0ad0f1464d47493309c24e2275af7f09c1e
Unsigned chars can't be negative

Fix a problem where an unsigned char was being checked to see if it was
negative.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/o_str.c