Re: BUG #4340: SECURITY: Is SSL Doing Anything? - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #4340: SECURITY: Is SSL Doing Anything?
Date
Msg-id 48AC1C88.1090905@hagander.net
Whole thread Raw
In response to Re: BUG #4340: SECURITY: Is SSL Doing Anything?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #4340: SECURITY: Is SSL Doing Anything?
Re: BUG #4340: SECURITY: Is SSL Doing Anything?
Re: BUG #4340: SECURITY: Is SSL Doing Anything?
List pgsql-bugs
Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> The code is there, actually, it's just #ifdef NOT_USED :-) From a *long*
>> time ago, and the commit message just says "silence compiler warnings",
>> so I've not managed to figure out why...
>
> I think the commit you're looking for is this one:
>
> 2002-09-26 00:41  momjian
>
>     * doc/src/sgml/runtime.sgml, src/backend/libpq/be-secure.c,
>     src/interfaces/libpq/fe-secure.c: Allow SSL to work withouth
>     client-side certificate infrastructure.
>
> so you'd probably need to root around in the archives from around then
> to see why this was considered a good idea.

No, that's not the one. It's the one after that one, at:

http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-secure.c.diff?r1=1.14;r2=1.15

In general, that code needs a look-over, I think. There may be more
changes required.

//Magnus

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #4340: SECURITY: Is SSL Doing Anything?
Next
From: Tom Lane
Date:
Subject: Re: BUG #4340: SECURITY: Is SSL Doing Anything?