Re: pgsql: Rework SSL renegotiation code - Mailing list pgsql-committers

From Alvaro Herrera
Subject Re: pgsql: Rework SSL renegotiation code
Date
Msg-id 20131017154245.GF9746@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: pgsql: Rework SSL renegotiation code  (Jaime Casanova <jaime@2ndquadrant.com>)
List pgsql-committers
Vik Fearing wrote:
> On 09/23/2013 10:51 PM, Alvaro Herrera wrote:
> > + /* are we in the middle of a renegotiation? */
> > + static bool in_ssl_renegotiation = false;
>
> Since this was committed, I'm getting the following warning:
>
> be-secure.c:105:13: warning: ‘in_ssl_renegotiation’ defined but not used
> [-Wunused-variable]

Jaime Casanova wrote:

> Shouldn't this new variable be declared inside the #ifdef USE_SSL block?
> My compiler is giving me a warning for the unused variable

Yep, thanks guys.  Just pushed a fix.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Return valid json when converting an empty hstore.
Next
From: Robert Haas
Date:
Subject: pgsql: Remove spinlock support for SINIX, Sun3, and NS32K.