summaryrefslogtreecommitdiff
path: root/src/backend/libpq
diff options
context:
space:
mode:
authorAlvaro Herrera2013-10-17 14:27:02 +0000
committerAlvaro Herrera2013-10-17 14:28:50 +0000
commit86029b31e5c71be5f9aceba0da2c609496435418 (patch)
tree0fe6d7a8126db9bd290b84cbdf7210e7cc300132 /src/backend/libpq
parent7778ddc7a2d5b006edbfa69cdb44b8d8c24ec1ff (diff)
Silence compiler warning when SSL not in use
Per Jaime Casanova and Vik Fearing
Diffstat (limited to 'src/backend/libpq')
-rw-r--r--src/backend/libpq/be-secure.c2
1 files changed, 1 insertions, 1 deletions
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