Patch - SSL back to working - Mailing list pgsql-patches

From Magnus Hagander
Subject Patch - SSL back to working
Date
Msg-id 215896B6B5E1CF11BC5600805FFEA82103D97C60@sirius.edu.sollentuna.se
Whole thread Raw
Responses Re: Patch - SSL back to working  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Here is a patch to bring SSL support back working. Sorry for the long delay
:-(

I also added the function sslinfo() to get information about the SSL
connection.
 (I'm not 100% sure I got that one right, though. Is it enough to put an
  entry in pg_proc.h, or do I need it anywhere else?
  Also, I picked "lowest oid in highest free block" - correct?)

Example of the function for non-SSL connection:
template1=# select sslinfo();
            sslinfo
-------------------------------
 SSL not active on connection.
(1 row)

Example of the function for SSL connection:
template1=# select sslinfo();
               sslinfo
-------------------------------------
 SSL cipher: DES-CBC3-SHA, bits: 168
(1 row)


//Magnus


Attachment

pgsql-patches by date:

Previous
From: Pete Forman
Date:
Subject: Update tests/regress/resultmap for IRIX 6
Next
From: Tom Lane
Date:
Subject: Re: Patch - SSL back to working