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
부모 756349c87b
커밋 36515e4f14
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

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