mirror of
https://github.com/postgres/postgres.git
synced 2025-09-05 02:22:28 +03:00
Revert changes for SSL compression in libpq
This partially reverts096bbf7
and9d2d457
, undoing the libpq changes as it could cause breakages in distributions that share one single libpq version across multiple major versions of Postgres for extensions and applications linking to that. Note that the backend is unchanged here, and it still disables SSL compression while simplifying the underlying catalogs that tracked if compression was enabled or not for a SSL connection. Per discussion with Tom Lane and Daniel Gustafsson. Discussion: https://postgr.es/m/YEbq15JKJwIX+S6m@paquier.xyz
This commit is contained in:
@@ -17,7 +17,7 @@ if ($ENV{with_ssl} ne 'openssl')
|
||||
}
|
||||
else
|
||||
{
|
||||
plan tests => 101;
|
||||
plan tests => 100;
|
||||
}
|
||||
|
||||
#### Some configuration
|
||||
@@ -157,13 +157,6 @@ test_connect_fails(
|
||||
qr/root certificate file "invalid" does not exist/,
|
||||
"connect without server root cert sslmode=verify-full");
|
||||
|
||||
# Test deprecated SSL parameters, still accepted for backwards
|
||||
# compatibility.
|
||||
test_connect_ok(
|
||||
$common_connstr,
|
||||
"sslrootcert=invalid sslmode=require sslcompression=1 requiressl=1",
|
||||
"connect with deprecated connection parameters");
|
||||
|
||||
# Try with wrong root cert, should fail. (We're using the client CA as the
|
||||
# root, but the server's key is signed by the server CA.)
|
||||
test_connect_fails($common_connstr,
|
||||
|
Reference in New Issue
Block a user