Re: PQinitSSL broken in some use casesf

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Andrew Chernow <ac(at)esilo(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PQinitSSL broken in some use casesf
Date: 2009-02-10 17:10:52
Message-ID: b42b73150902100910y7721f44cyd69d1ca65440052a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Feb 10, 2009 at 12:03 PM, Merlin Moncure <mmoncure(at)gmail(dot)com> wrote:
> On Tue, Feb 10, 2009 at 11:54 AM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>> Merlin Moncure wrote:
>>> On Tue, Feb 10, 2009 at 11:52 AM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>>> > Robert Haas wrote:
>>> >> > Would someone remind me why turning off ssl initialization in libpq does
>>> >> > not work for this case?
>>> >>
>>> >> That initializes both libcrypto and libssl. The problem arises when
>>> >> libcrypto has been initialized but libssl has not.
>>> >
>>> > So initialize ssl in your application? What is the problem?
>>>
>>> then libpq doesn't work.
>
> PQinitSSL is required if you want to make any ssl calls (it does some
> libpq setup beyond the ssl library initialization).

that was worded badly. Rather, PQinitSSL is required if you need to
use ssl features withing libpq.

merlin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-02-10 17:20:34 Re: Re: [COMMITTERS] pg-migrator - src: Add support for specifying port numbers.
Previous Message Bruce Momjian 2009-02-10 17:08:48 Re: [COMMITTERS] pg-migrator - src: Add support for specifying port numbers.