Use arc4random() if available in onetimeauth_poly1305_try.c

This commit is contained in:
Frank Denis
2013-10-21 21:11:06 -07:00
parent 696934b123
commit a5834e1e25
@@ -47,6 +47,11 @@ deallocate(void)
free(k2_);
}
#ifdef HAVE_ARC4RANDOM
# undef rand
# define rand(X) arc4random(X)
#endif
static const char *
checksum_compute(void)
{