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

Commitcad781b

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 parent27fbf7c commitcad781b

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
@@ -44,14 +44,21 @@ sub switch_server_cert
4444
# This is the pattern to use in pg_hba.conf to match incoming connections.
4545
my$SERVERHOSTCIDR ='127.0.0.1/32';
4646

47+
# Determine whether this build uses OpenSSL or LibreSSL.
48+
my$libressl =$ssl_server->is_libressl;
49+
4750
# Determine whether build supports tls-server-end-point.
4851
my$supports_tls_server_end_point =
4952
check_pg_config("#define HAVE_X509_GET_SIGNATURE_NID 1");
53+
5054
# Determine whether build supports detection of hash algorithms for
5155
# RSA-PSS certificates.
5256
my$supports_rsapss_certs =
5357
check_pg_config("#define HAVE_X509_GET_SIGNATURE_INFO 1");
5458

59+
# As of 5/2025, LibreSSL doesn't actually work for RSA-PSS certificates.
60+
$supports_rsapss_certs = 0if$libressl;
61+
5562
# Allocation of base connection string shared among multiple tests.
5663
my$common_connstr;
5764

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp