From 319cd947618d4ebaffc8aba636d017fe5c956025 Mon Sep 17 00:00:00 2001 From: Nicholas Tay Date: Sun, 16 Jan 2022 00:49:30 +1100 Subject: Batch script for Windows compilation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 02fbb47..7fc784b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ See `passgen --help` for details. $ make # Windows, in Developer CMD -$ cl /std:c11 passgen.c /link Advapi32.lib +$ build_msvc.bat ``` NOTE: Compilation with mingw will use the fallback RNG for password generation. This utilises `rand()` in C, seeded with the time and PID - may be unsafe! On Windows with `cl`, \*nix, macOS, Free/OpenBSD, the relevant system calls will be utilised to get better quality randomness. See the `_rng` functions for details. -- cgit