Re: BUG #15789: libpq compilation with OpenSSL 1.1.1b fails on Windows with Visual Studio 2017

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
Cc: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>, serpashk@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2019-06-03T23:51:32Z
Lists: pgsql-bugs
On Mon, Jun 03, 2019 at 03:30:49PM +0530, Sandeep Thakkar wrote:
> OpenSSL 1.1.0 and 1.0.2 both are going out of Support in 2019 and PG 9.4 is
> supported till Feb2020.
> Ideally, 1.1.1x support should be backpatched until 9.4

There is no point to patch a stable branch if it has no support for
the OpenSSL version we target.  Now, bb132cdd has added support for
OpenSSL 1.1.0 in 9.4, so there is actually no reason to not patch 9.4
as well and you are right.  Missed that in my initial lookup of the
commit logs as this was applied 7 months after the 9.5~ portions.
--
Michael

Commits

  1. Add support for OpenSSL 1.1.0 and newer versions in MSVC scripts