Commit 560f7abb authored by Richard Levitte's avatar Richard Levitte
Browse files

Make sure we use unsigned constants, or come compilers may complain.

parent b6358c89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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))
+1 −1
Original line number Diff line number Diff line
@@ -902,7 +902,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))