From 44161ea4ff9e8910c6da285a4d1b242ce9372192 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 27 Jun 2022 14:26:45 +0200 Subject: Increase random seed range. --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 710879f..d95d72a 100644 --- a/server.js +++ b/server.js @@ -156,7 +156,7 @@ if (HTTPS_PORT) { */ function random_seed() { - return crypto.randomInt(1, 0x7ffffffe) + return crypto.randomInt(1, 2**35-31) } function SLOG(socket, ...msg) { -- cgit v1.2.3