Fix build of MSVC with OpenSSL 3.0.0
authorMichael Paquier <[email protected]>
Wed, 20 Oct 2021 07:48:57 +0000 (16:48 +0900)
committerMichael Paquier <[email protected]>
Wed, 20 Oct 2021 07:48:57 +0000 (16:48 +0900)
commit81aefaea82934e577e9d81fcb1f809a8d75bbf5c
tree02656557b159e96a5478c29198ead8671b37bb36
parent3ce3fb2f7dc66fef67c8184b96245d74372b729e
Fix build of MSVC with OpenSSL 3.0.0

The build scripts of Visual Studio would fail to detect properly a 3.0.0
build as the check on the second digit was failing.  This is adjusted
where needed, allowing the builds to complete.  Note that the MSIs of
OpenSSL mentioned in the documentation have not changed any library
names for Win32 and Win64, making this change straight-forward.

Reported-by: htalaco, via github
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 9.6
src/tools/msvc/Solution.pm