aboutsummaryrefslogtreecommitdiff
path: root/src/random.c
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2025-07-16 20:18:29 +0200
committerGitHub <noreply@github.com>2025-07-16 20:18:29 +0200
commit7484ab251f58fdbc4fbc4313de70a7696e8c02b9 (patch)
treeb6e0595cd15b619a2b27ec1c194b342325b3e00a /src/random.c
parent917c1ad1d1dee1c714d001e8fd1f276a6e06dd52 (diff)
downloadlibuv-v1.x.tar.gz
libuv-v1.x.zip
win: use ProcessPrng (#4836)HEADv1.xmain
Refs: https://github.com/libuv/libuv/pull/2762#issuecomment-3065018271
Diffstat (limited to 'src/random.c')
-rw-r--r--src/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/random.c b/src/random.c
index 57fc0d91..402678cb 100644
--- a/src/random.c
+++ b/src/random.c
@@ -61,7 +61,7 @@ static int uv__random(void* buf, size_t buflen) {
# endif
#elif defined(_WIN32)
uv__once_init();
- rc = uv__random_rtlgenrandom(buf, buflen);
+ rc = uv__random_winrandom(buf, buflen);
#else
rc = uv__random_devurandom(buf, buflen);
#endif