mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 13:04:17 +03:00
update openbsd c3_rand to use 512 bits of entropy
This commit is contained in:
parent
40180755c8
commit
d8ebde1a69
@ -184,7 +184,7 @@
|
||||
/* Entropy
|
||||
*/
|
||||
# if defined(U3_OS_bsd) && defined(__OpenBSD__)
|
||||
# define c3_rand(rd) (getentropy((void*)rd, 32) == 0 ? \
|
||||
# define c3_rand(rd) (getentropy((void*)rd, 64) == 0 ? \
|
||||
(void)0 : c3_assert(!"ent"))
|
||||
# else
|
||||
# define c3_rand u3_sist_rand
|
||||
|
Loading…
Reference in New Issue
Block a user