Another random() -> rand()

This commit is contained in:
Frank Denis 2013-04-22 13:13:31 -07:00
parent c4f75c4896
commit 7356770dbe

View File

@ -41,7 +41,7 @@ _sodium_alignedcalloc(unsigned char ** const unaligned_p, const size_t len)
}
*unaligned_p = unaligned;
for (i = (size_t) 0U; i < len + (size_t) 256U; ++i) {
unaligned[i] = (unsigned char) random();
unaligned[i] = (unsigned char) rand();
}
aligned = unaligned + 64;
aligned += (ptrdiff_t) 63 & (-(ptrdiff_t) aligned);