From 6c66b7443cebf3ff09ea76416a20fb6bb1d32a52 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Thu, 24 Oct 2024 15:20:19 +0200 Subject: Raise the minimum supported OpenSSL version to 1.1.1 Commit a70e01d4306fdbcd retired support for OpenSSL 1.0.2 in order to get rid of the need for manual initialization of the library. This left our API usage compatible with 1.1.0 which was defined as the minimum required version. Also mention that 3.4 is the minimum version required when using LibreSSL. An upcoming commit will introduce support for configuring TLSv1.3 cipher suites which require an API call in OpenSSL 1.1.1 and onwards. In order to support this setting this commit will set v1.1.1 as the new minimum required version. The version-specific call for randomness init added in commit c3333dbc0c0 is removed as it's no longer needed. Author: Daniel Gustafsson Discussion: https://postgr.es/m/909A668B-06AD-47D1-B8EB-A164211AAD16@yesql.se Discussion: https://postgr.es/m/tencent_063F89FA72CCF2E48A0DF5338841988E9809@qq.com --- doc/src/sgml/installation.sgml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 3a491b59896..8449c20f798 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -293,7 +293,13 @@ encrypted client connections. OpenSSL is also required for random number generation on platforms that do not have /dev/urandom (except Windows). The minimum - required version is 1.1.0. + required version is 1.1.1. + + + Additionally, LibreSSL is supported using the + OpenSSL compatibility layer. The minimum + required version is 3.4 (from OpenBSD + version 7.0). @@ -989,7 +995,9 @@ build-postgresql: Build with support for SSL (encrypted) connections. The only LIBRARY - supported is . This requires the + supported is , which is used for both + OpenSSL + and LibreSSL. This requires the OpenSSL package to be installed. configure will check for the required header files and libraries to make sure that your -- cgit v1.2.3