RTEMS | cpukit/libcrypt: Address -Wsign-compare warnings (!957)
Joel Sherrill (@joel)
gitlab at rtems.org
Wed Jan 28 17:03:36 UTC 2026
Joel Sherrill commented on a discussion on cpukit/libcrypt/crypt-sha256.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/957#note_140170
> SHA256_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)
> + SHA256_Update(&alt_ctx, salt, salt_len);
> +#else
> for (cnt = 0; cnt < 16 + alt_result[0]; ++cnt)
> SHA256_Update(&alt_ctx, salt, salt_len);
Updated in push.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/957#note_140170
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/88879590/attachment.htm>
More information about the bugs
mailing list