postgres.git / summary / log / commit / refs
commit 86029b31e5c71be5f9aceba0da2c609496435418
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Thu Oct 17 14:27:02 2013 +0000
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 c451420990e..7f01a78e79e 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
[parent: 7778ddc7a2d5]