projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use xoshiro256** to generate pseudo-random numbers.
[tinc]
/
src
/
tincd.c
diff --git
a/src/tincd.c
b/src/tincd.c
index
dff420a
..
f9e31c1
100644
(file)
--- a/
src/tincd.c
+++ b/
src/tincd.c
@@
-489,11
+489,9
@@
int main(int argc, char **argv) {
unsetenv("LISTEN_PID");
#endif
- /* Slllluuuuuuurrrrp! */
-
gettimeofday(&now, NULL);
- srand(now.tv_sec + now.tv_usec);
crypto_init();
+ prng_init();
if(!read_server_config(&config_tree)) {
return 1;