mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 07:56:09 +00:00
Problem: misleading indentation in tweetnacl.c
Solution: fix it
This commit is contained in:
parent
2991e6f602
commit
a7bf010ee2
@ -913,8 +913,9 @@ void randombytes (unsigned char *x,unsigned long long xlen)
|
|||||||
if (fd == -1) {
|
if (fd == -1) {
|
||||||
for (;;) {
|
for (;;) {
|
||||||
fd = open("/dev/urandom",O_RDONLY);
|
fd = open("/dev/urandom",O_RDONLY);
|
||||||
if (fd != -1) break;
|
if (fd != -1)
|
||||||
sleep (1);
|
break;
|
||||||
|
sleep (1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while (xlen > 0) {
|
while (xlen > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user