Re: [PATCH] add ssl_protocols configuration option

From: Alex Shulgin <ash(at)commandprompt(dot)com>
To: Dag-Erling Smørgrav <des(at)des(dot)no>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] add ssl_protocols configuration option
Date: 2014-11-21 09:13:10
Message-ID: 87a93kudax.fsf@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Dag-Erling Smørgrav <des(at)des(dot)no> writes:

> Alex Shulgin <ash(at)commandprompt(dot)com> writes:
>> I can do that too, just need a hint where to look at in libpq/psql to
>> add the option.
>
> The place to *enforce* the option is src/interfaces/libpq/fe-secure.c
> (look for SSLv23_method() and SSL_CTX_set_options()). I haven't looked
> into how to set it.

Yes, I've figured it out. Guess we'd better share the ssl_protocol
value parser code between libpq and the backend. Any precedent?

--
Alex

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-11-21 10:04:55 Re: GIN pageinspect functions
Previous Message Albe Laurenz 2014-11-21 08:53:06 Re: Functions used in index definitions shouldn't be changed