wireguard-mod : remove excessive wait_for_random_bytes

This commit is contained in:
bolvan 2019-04-29 23:35:46 +03:00
parent 5140622b66
commit 2f4f603356

View File

@ -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(&gtrash, sizeof(gtrash));
+ }
+ return gtrash;
+}