Fix compiler warning

Fix a warning about unused variable on Windows when using OpenSSL.
This commit is contained in:
Peter Eisentraut 2019-09-01 23:19:51 +02:00
rodič 756349c87b
revize 36515e4f14
1 změnil soubory, kde provedl 2 přidání a 2 odebrání

Zobrazit soubor

@ -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.