Branch: refs/heads/OpenSSL_1_1_1-stable Home: https://github.openssl.org/openssl/openssl Commit: ccc7ccb49db89865b135097237e173f82bc74751 https://github.openssl.org/openssl/openssl/commit/ccc7ccb49db89865b135097237e173f82bc74751 Author: Viktor Szakats <com...@vsz.me> Date: 2022-07-11 (Mon, 11 Jul 2022)
Changed paths: M crypto/rand/rand_win.c Log Message: ----------- use #pragma comment(lib) with _MSC_VER only Avoid this warning when compiled with llvm/gcc + mingw-w64 and `USE_BCRYPTGENRANDOM` enabled: ``` ../providers/implementations/rands/seeding/rand_win.c:31:11: warning: unknown pragma ignored [-Wunknown-pragmas] ^ 1 warning generated. ``` CLA: trivial Reviewed-by: Hugo Landau <hlan...@openssl.org> Reviewed-by: Tomas Mraz <to...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18709) (cherry picked from commit 695cb63c744bab090144a86949b68324ee3094d6)