[email protected] (Niels Möller) writes:

> Pushed now, with some smaller changes.

I get a couple of warnings, when compiling for 32-bit platforms, e.g.,
ARM.

/home/nisse/hack/nettle/ccm.c: In function `nettle_ccm_set_nonce':
/home/nisse/hack/nettle/ccm.c:134:3: warning: comparison is always false due to 
limited range of data type [-Wtype-limits]
/home/nisse/hack/nettle/ccm.c:138:5: warning: right shift count >= width of 
type [enabled by default]
/home/nisse/hack/nettle/ccm.c:139:5: warning: right shift count >= width of 
type [enabled by default]
/home/nisse/hack/nettle/ccm.c:140:5: warning: right shift count >= width of 
type [enabled by default]
/home/nisse/hack/nettle/ccm.c:141:5: warning: right shift count >= width of 
type [enabled by default]

As long as it's "always false", the code should be correct, but it would
be nice to get rid of these warnings.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to