From 2f4f6033563839ff43f6dc60b440af30f2d788e0 Mon Sep 17 00:00:00 2001 From: bolvan Date: Mon, 29 Apr 2019 23:35:46 +0300 Subject: [PATCH] wireguard-mod : remove excessive wait_for_random_bytes --- wireguard/010-wg-mod.patch | 1 + 1 file changed, 1 insertion(+) diff --git a/wireguard/010-wg-mod.patch b/wireguard/010-wg-mod.patch index 7fa3e3f..0fd8a79 100644 --- a/wireguard/010-wg-mod.patch +++ b/wireguard/010-wg-mod.patch @@ -87,6 +87,7 @@ Index: WireGuard-0.0.20190123/src/noise.c + gtrash = gtrash*1103515243 + 12345; + else + // first value is true random ++ get_random_bytes_wait(>rash, sizeof(gtrash)); + } + return gtrash; +}