Re: SSL compression info in psql header

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SSL compression info in psql header
Date: 2014-07-15 14:30:39
Message-ID: CABUevExOo2Tg1OR56O6g5DSdiS4BuE7xxrMqNos8foxnQcfsfA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jul 15, 2014 at 4:28 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
>> As far as my research shows, the function
>> SSL_get_current_compression() which it uses was added in OpenSSL
>> 0.9.6, which is a long time ago (stopped being maintained in 2004).
>> AFAICT even RHEL *3* shipped with 0.9.7. So I think we can safely rely
>> on it, especially since we only check for whether it returns NULL or
>> not.
>
> The buildfarm begs to differ. I think you'll need a configure check
> for whether the function exists.

Crap.

Out of curiosity, since one of those boxes seems to be yours, which
version of OpenSSL does it actually have?

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-07-15 14:41:35 Re: SSL compression info in psql header
Previous Message Tom Lane 2014-07-15 14:28:07 Re: SSL compression info in psql header