RTEMS | cpukit/libcrypt: Address -Wsign-compare warnings (!957)
Kinsey Moore (@opticron)
gitlab at rtems.org
Wed Jan 28 16:39:44 UTC 2026
Kinsey Moore started a new discussion on cpukit/libcrypt/crypt-sha512.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/957#note_140157
> SHA512_Init(&alt_ctx);
>
> /* For every character in the password add the entire password. */
> +#ifdef __rtems__
> + for (cnt = 0; cnt < (size_t) (16 + alt_result[0]); ++cnt)
> + SHA512_Update(&alt_ctx, salt, salt_len);
> +#else
> for (cnt = 0; cnt < 16 + alt_result[0]; ++cnt)
> SHA512_Update(&alt_ctx, salt, salt_len);
Same here.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/957#note_140157
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260128/53a2e235/attachment.htm>
More information about the bugs
mailing list