---
mingw-w64-crt/ssp/stack_chk_guard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mingw-w64-crt/ssp/stack_chk_guard.c
b/mingw-w64-crt/ssp/stack_chk_guard.c
index be43d8c7e222..8f0ca8581dde 100644
--- a/mingw-w64-crt/ssp/stack_chk_guard.c
+++ b/mingw-w64-crt/ssp/stack_chk_guard.c
@@ -25,7 +25,7 @@ static void __cdecl init(void)
// callable in WinStore mode too (since it's from the CRT).
// In the case of msvcrt.dll, our import library provides a small wrapper
// which tries to load the function dynamically, and falls back on
- // using RtlRandomGen if not available.
+ // using RtlGenRandom if not available.
if (rand_s(&ui) == 0) {
__stack_chk_guard = (void*)(intptr_t)ui;
#if __SIZEOF_POINTER__ > 4
--
2.20.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public