diff options
author | Richard Levitte <levitte@openssl.org> | 2004-03-15 22:33:19 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2004-03-15 22:33:19 +0000 |
commit | 560f7abb7e12d09b5e1dd2e9c8e3c6a04fc901d3 (patch) | |
tree | b3de1ecbfcb31f85732c0c7451475ec47555e8c5 /crypto/ec/ec2_smpl.c | |
parent | b6358c89a10128692875fb92921b663c4d079a1e (diff) |
Make sure we use unsigned constants, or come compilers may complain.
Diffstat (limited to 'crypto/ec/ec2_smpl.c')
-rw-r--r-- | crypto/ec/ec2_smpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec2_smpl.c b/crypto/ec/ec2_smpl.c index 1132c8e5af..d34e97d676 100644 --- a/crypto/ec/ec2_smpl.c +++ b/crypto/ec/ec2_smpl.c @@ -575,7 +575,7 @@ int ec_GF2m_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)) |