]> granicus.if.org Git - postgresql/commit
Back-patch 9.4-era SSL renegotiation code into 9.3 and 9.2.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 17 Apr 2017 16:51:40 +0000 (12:51 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 17 Apr 2017 16:51:40 +0000 (12:51 -0400)
commit58384149bdbd47aab4affb926b32f16a84ef98ce
tree5e21f50011cb24e876d4c274e4c1e3f83f4f0866
parent0d7591c67d685b13dbfcc399cf7fff52ea760c79
Back-patch 9.4-era SSL renegotiation code into 9.3 and 9.2.

This back-patches 9.4 commits 31cf1a1a486029b31e, 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
src/backend/libpq/be-secure.c
src/backend/tcop/postgres.c