mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Fix compiler warning
Fix a warning about unused variable on Windows when using OpenSSL.
This commit is contained in:
parent
756349c87b
commit
36515e4f14
@ -27,11 +27,11 @@
|
||||
#ifdef USE_OPENSSL
|
||||
#include <openssl/rand.h>
|
||||
#endif
|
||||
#ifdef WIN32
|
||||
#ifdef USE_WIN32_RANDOM
|
||||
#include <wincrypt.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef USE_WIN32_RANDOM
|
||||
/*
|
||||
* Cache a global crypto provider that only gets freed when the process
|
||||
* exits, in case we need random numbers more than once.
|
||||
|
Loading…
x
Reference in New Issue
Block a user