That can be done in configure.ac by using
AC_DEFINE(OPENSSL_API_COMPAT, [0x10002000L],
[Define to the OpenSSL API version in use. This avoids deprecation warnings from newer OpenSSL versions.])
The supported minimum version is 1.0.2, which is identical to
PostgreSQL at this point. (Actually the AC_DEFINE is brought in from
PostgreSQL). Also this could avoid OpenSSL deprecation warnings if
your installed OpenSSL is new, like 3.0.
Moreover, add mention to installation document that required minimum
version of OpenSSL is 1.0.2.
Backpatch-through: v4.3
[openssl=no])
if test "$with_openssl" = yes || test "$with_openssl" = auto; then
+ # Minimum required OpenSSL version is 1.0.2
+ AC_DEFINE(OPENSSL_API_COMPAT, [0x10002000L],
+ [Define to the OpenSSL API version in use. This avoids deprecation warnings from newer OpenSSL versions.])
+
AC_CHECK_HEADERS(openssl/ssl.h,
[AC_DEFINE([USE_SSL], 1,
[Define to 1 to build with SSL support. (--with-openssl)])],
disabled by default.
-->
<productname>Pgpool-II</productname>バイナリが<productname>OpenSSL</productname>サポート付で構築されます。
+ 必要な<productname>OpenSSL</productname>の最小バージョンは1.0.2です。
AES256暗号化を使ってパスワードを暗号化する場合もこのオプションが必要です。
詳細は<xref linkend="auth-aes-encrypted-password">を参照してください。
デフォルトでは<productname>OpenSSL</productname>サポートは無効です。
<listitem>
<para>
<productname>Pgpool-II</productname> binaries will be built
- with <productname>OpenSSL</productname> support. If you plan to
- encrypt passwords using AES256 encryption, you need this option
- too. See <xref linkend="auth-aes-encrypted-password"> for more
+ with <productname>OpenSSL</productname> support. The required
+ minimum version of <productname>OpenSSL</productname> is
+ 1.0.2. If you plan to encrypt passwords using AES256 encryption,
+ you need this option too.
+ See <xref linkend="auth-aes-encrypted-password"> for more
details.
<productname>OpenSSL</productname> support is
disabled by default.