Commit Diff


commit - 1a52c9bfc78a8d9769fbe735203345492730e813
commit + c602198afc6ce7d8c96397f6482e7aff4e02db41
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();