Format
This commit is contained in:
parent
156006d6aa
commit
437b20161c
@ -188,14 +188,14 @@ randombytes_sysrandom_init(void)
|
|||||||
|
|
||||||
# ifdef SYS_getrandom
|
# ifdef SYS_getrandom
|
||||||
{
|
{
|
||||||
unsigned char fodder[16];
|
unsigned char fodder[16];
|
||||||
|
|
||||||
if (randombytes_linux_getrandom(fodder, sizeof fodder) == 0) {
|
if (randombytes_linux_getrandom(fodder, sizeof fodder) == 0) {
|
||||||
stream.getrandom_available = 1;
|
stream.getrandom_available = 1;
|
||||||
errno = errno_save;
|
errno = errno_save;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
stream.getrandom_available = 0;
|
stream.getrandom_available = 0;
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user