Re: [HACKERS] GnuTLS support - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] GnuTLS support
Date
Msg-id 4ec63d11-b473-95eb-cd0f-8891606af506@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] GnuTLS support  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: [HACKERS] GnuTLS support  (Andreas Karlsson <andreas@proxel.se>)
List pgsql-hackers
On 11/19/17 20:56, Michael Paquier wrote:
>> If I get it right we ignore gnutls and use openssl (as it's the first
>> checked in #ifdefs). Shouldn't we enforce in configure that only one TLS
>> implementation is enabled? Either by some elaborate check, or by
>> switching to something like
>>
>>  --with-ssl=(openssl|gnutls)
> WIth potential patches coming to use macos' SSL implementation or
> Windows channel, there should really be only one implementation
> available at compile time. That's more simple as a first step as well.
> So +1 for the --with-ssl switch.

I'm not sure whether this is a great improvement.  Why upset existing
build and packaging scripts?  The usual options style is
--with-nameoflib.  We can have separate options and error if conflicting
combinations are specified.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] SQL procedures
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Patch: add --if-exists to pg_recvlogical