From 86029b31e5c71be5f9aceba0da2c609496435418 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 17 Oct 2013 11:27:02 -0300 Subject: [PATCH] Silence compiler warning when SSL not in use Per Jaime Casanova and Vik Fearing --- src/backend/libpq/be-secure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/libpq/be-secure.c b/src/backend/libpq/be-secure.c index c451420990..7f01a78e79 100644 --- a/src/backend/libpq/be-secure.c +++ b/src/backend/libpq/be-secure.c @@ -101,10 +101,10 @@ char *ssl_crl_file; */ int ssl_renegotiation_limit; +#ifdef USE_SSL /* are we in the middle of a renegotiation? */ static bool in_ssl_renegotiation = false; -#ifdef USE_SSL static SSL_CTX *SSL_context = NULL; static bool ssl_loaded_verify_locations = false; #endif