pgsql: Back-patch 9.4-era SSL renegotiation code into 9.3 and 9.2.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Back-patch 9.4-era SSL renegotiation code into 9.3 and 9.2.
Date: 2017-04-17 16:51:53
Message-ID: E1d09sX-0000sX-N8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Back-patch 9.4-era SSL renegotiation code into 9.3 and 9.2.

This back-patches 9.4 commits 31cf1a1a4, 86029b31e, and 36a3be654 into
the prior branches, along with relevant bits of b1aebbb6a and 7ce2a45ae.
We had foreseen doing this once the code was proven, but that never did
happen, probably because we got sufficiently fed up with renegotiation
to disable it by default. However, we have to do something now because
the prior code doesn't even compile against OpenSSL 1.1. Per discussion,
the best solution seems to be to make the older branches look like 9.4.

Discussion: https://postgr.es/m/20047.1492305247@sss.pgh.pa.us

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/fbfeceb25362097c5552751427151a07d23b8241

Modified Files
--------------
src/backend/libpq/be-secure.c | 87 ++++++++++++++++++++++++++++++++++---------
src/backend/tcop/postgres.c | 6 +++
2 files changed, 76 insertions(+), 17 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2017-04-17 17:03:03 pgsql: Fix extended statistics with partial analyzes
Previous Message Peter Eisentraut 2017-04-17 16:39:31 Re: pgsql: Fix integer-overflow problems in interval comparison.