1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +03:00

Silence compiler warning when SSL not in use

Per Jaime Casanova and Vik Fearing
This commit is contained in:
Alvaro Herrera
2013-10-17 11:27:02 -03:00
parent 7778ddc7a2
commit 86029b31e5

View File

@ -101,10 +101,10 @@ char *ssl_crl_file;
*/ */
int ssl_renegotiation_limit; int ssl_renegotiation_limit;
#ifdef USE_SSL
/* are we in the middle of a renegotiation? */ /* are we in the middle of a renegotiation? */
static bool in_ssl_renegotiation = false; static bool in_ssl_renegotiation = false;
#ifdef USE_SSL
static SSL_CTX *SSL_context = NULL; static SSL_CTX *SSL_context = NULL;
static bool ssl_loaded_verify_locations = false; static bool ssl_loaded_verify_locations = false;
#endif #endif