summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-27 10:20:56 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-27 10:20:56 +0900
commit0c6f36668a11902903d85ada61a812d297d02de5 (patch)
tree0e976fcb5b4291258fa80c8f07249cad99d49cc6 /random.c
parent293c6c8cc3cd9a9cb2910672589ee3631e1f1653 (diff)
Adjusted spaces [ci skip]
Diffstat (limited to 'random.c')
-rw-r--r--random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/random.c b/random.c
index 07ad236..f72abb0 100644
--- a/random.c
+++ b/random.c
@@ -311,7 +311,7 @@ fill_random_bytes_urandom(void *seed, size_t size)
return -1;
}
offset += (size_t)ret;
- } while(offset < size);
+ } while (offset < size);
}
close(fd);
return 0;
@@ -421,7 +421,7 @@ fill_random_bytes_syscall(void *seed, size_t size, int need_secure)
return -1;
}
offset += (size_t)ret;
- } while(offset < size);
+ } while (offset < size);
return 0;
}
return -1;