]> granicus.if.org Git - postgresql/commitdiff
Silence compiler warning when SSL not in use
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 17 Oct 2013 14:27:02 +0000 (11:27 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 17 Oct 2013 14:28:50 +0000 (11:28 -0300)
Per Jaime Casanova and Vik Fearing

src/backend/libpq/be-secure.c

index c451420990eeb87613d9a33c3dab5b1e0f5c809a..7f01a78e79e2e6201ba5188fc4b46ab0fdc950f4 100644 (file)
@@ -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