Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit793aa98

Browse files
committed
Skip RSA-PSS ssl test when using LibreSSL.
Presently, LibreSSL does not have working support for RSA-PSS,so disable that test. Per discussion athttps://marc.info/?l=libressl&m=174664225002441&w=2they do intend to fix this, but it's a ways off yet.Reported-by: Thomas Munro <thomas.munro@gmail.com>Author: Tom Lane <tgl@sss.pgh.pa.us>Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Discussion:https://postgr.es/m/CA+hUKG+fLqyweHqFSBcErueUVT0vDuSNWui-ySz3+d_APmq7dw@mail.gmail.comBackpatch-through: 15
1 parent00811a9 commit793aa98

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎src/test/ssl/t/002_scram.pl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,21 @@ sub switch_server_cert
3939
# This is the pattern to use in pg_hba.conf to match incoming connections.
4040
my$SERVERHOSTCIDR ='127.0.0.1/32';
4141

42+
# Determine whether this build uses OpenSSL or LibreSSL.
43+
my$libressl =$ssl_server->is_libressl;
44+
4245
# Determine whether build supports tls-server-end-point.
4346
my$supports_tls_server_end_point =
4447
check_pg_config("#define HAVE_X509_GET_SIGNATURE_NID 1");
48+
4549
# Determine whether build supports detection of hash algorithms for
4650
# RSA-PSS certificates.
4751
my$supports_rsapss_certs =
4852
check_pg_config("#define HAVE_X509_GET_SIGNATURE_INFO 1");
4953

54+
# As of 5/2025, LibreSSL doesn't actually work for RSA-PSS certificates.
55+
$supports_rsapss_certs = 0if$libressl;
56+
5057
# Allocation of base connection string shared among multiple tests.
5158
my$common_connstr;
5259

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp