Joel Sherrill commented on a discussion on cpukit/libcrypt/crypt-sha512.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/957#note_140171

 >      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);

Updated in push.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/957#note_140171
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to