mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-17 04:22:59 +03:00
wireguard-mod : remove excessive wait_for_random_bytes
This commit is contained in:
parent
5140622b66
commit
2f4f603356
@ -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;
|
||||
+}
|
||||
|
Loading…
x
Reference in New Issue
Block a user