summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2021-04-08 01:15:17 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2021-06-06 16:26:06 +0200
commite5724f71d2c054bc51d66092beb6af4da21e0c62 (patch)
tree210ddf678e7aa8cb503f6fb5b977864861699e2b /conf
parentc48ebde5ce6db3da8cd571d213d1a1f265de8983 (diff)
sysdep: Add wrapper to get random bytes - update
Simplify the code and fix an issue with getentropy() return value.
Diffstat (limited to 'conf')
-rw-r--r--conf/conf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/conf/conf.c b/conf/conf.c
index 0c355be4..58abcde1 100644
--- a/conf/conf.c
+++ b/conf/conf.c
@@ -524,7 +524,6 @@ order_shutdown(int gr)
c->gr_down = gr;
config_commit(c, RECONFIG_HARD, 0);
- random_close();
shutting_down = 1;
}