Commit a7bf010e authored by Luca Boccassi's avatar Luca Boccassi

Problem: misleading indentation in tweetnacl.c

Solution: fix it
parent 2991e6f6
......@@ -913,8 +913,9 @@ void randombytes (unsigned char *x,unsigned long long xlen)
if (fd == -1) {
for (;;) {
fd = open("/dev/urandom",O_RDONLY);
if (fd != -1) break;
sleep (1);
if (fd != -1)
break;
sleep (1);
}
}
while (xlen > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment