On Thu, Oct 10, 2013 at 9:47 PM, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> Rework SSL renegotiation code
>
Hi Álvaro,
Shouldn't this new variable be declared inside the #ifdef USE_SSL block?
My compiler is giving me a warning for the unused variable
--- a/src/backend/libpq/be-secure.c
+++ b/src/backend/libpq/be-secure.c
@@ -101,6 +101,9 @@ char *ssl_crl_file;
*/
int ssl_renegotiation_limit;
+/* 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;
--
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
Phone: +593 4 5107566 Cell: +593 987171157