Problem: misleading indentation in tweetnacl.c

Solution: fix it
This commit is contained in:
Luca Boccassi 2017-07-27 14:47:12 +01:00
parent 2991e6f602
commit a7bf010ee2

View File

@ -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) {