nisse@lysator.liu.se (Niels Möller) writes:
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]
Fixed now. Added a configure test for sizeof(size_t).
Regards, /Niels