Branch: refs/heads/openssl-3.0
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 174954c9934b7031340be06b9b2c3a14edb83dd1
      
https://github.openssl.org/openssl/openssl/commit/174954c9934b7031340be06b9b2c3a14edb83dd1
  Author: Viktor Szakats <com...@vsz.me>
  Date:   2022-07-11 (Mon, 11 Jul 2022)

  Changed paths:
    M providers/implementations/rands/seeding/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)


Reply via email to