From: Richard Levitte Date: Mon, 15 Mar 2004 23:06:59 +0000 (+0000) Subject: As in 0.9.8-dev, make sure we use unsigned constants, or some X-Git-Tag: OpenSSL_0_9_7d~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=95475b1c7a43dd82cca19ee491f748e152ef90d8;p=oweals%2Fopenssl.git As in 0.9.8-dev, make sure we use unsigned constants, or some compilers may complain. --- diff --git a/crypto/ec/ecp_smpl.c b/crypto/ec/ecp_smpl.c index 4666a052bf..e9a51fb87a 100644 --- a/crypto/ec/ecp_smpl.c +++ b/crypto/ec/ecp_smpl.c @@ -896,7 +896,7 @@ int ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, } form = buf[0]; y_bit = form & 1; - form = form & ~1; + form = form & ~1U; if ((form != 0) && (form != POINT_CONVERSION_COMPRESSED) && (form != POINT_CONVERSION_UNCOMPRESSED) && (form != POINT_CONVERSION_HYBRID))