summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMichael Paquier2021-03-10 00:35:42 +0000
committerMichael Paquier2021-03-10 00:35:42 +0000
commit0ba71107efeeccde9158f47118f95043afdca0bb (patch)
tree88e76f41af9d3fe66ecee5b4d4bb552d1210bd67 /src/test
parent6540cc517dd452874a4e0fb268aee9b92e5136c6 (diff)
Revert changes for SSL compression in libpq
This partially reverts 096bbf7 and 9d2d457, 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
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ssl/t/001_ssltests.pl9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/test/ssl/t/001_ssltests.pl b/src/test/ssl/t/001_ssltests.pl
index ee97f6f069..bfada03d3e 100644
--- a/src/test/ssl/t/001_ssltests.pl
+++ b/src/test/ssl/t/001_ssltests.pl
@@ -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,