Commit Diff


commit - 9148c8a75e2eb133ca0919805a3fb6d0c415b045
commit + 56409302ec70f87cebbea0155915ea2862327e86
blob - e20369a78e149e0e24de1d635e24b7a6161e4d16
blob + 075110e34e7f07475aa0f1df07f74fac98521044
--- gotd/listen.c
+++ gotd/listen.c
@@ -351,6 +351,8 @@ listen_main(const char *title, int gotd_socket)
 {
 	struct gotd_imsgev iev;
 	struct event evsigint, evsigterm, evsighup, evsigusr1;
+
+	arc4random_buf(&clients_hash_key, sizeof(clients_hash_key));
 
 	gotd_listen.title = title;
 	gotd_listen.pid = getpid();