diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2020-03-25 21:14:14 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2020-03-25 21:14:14 -0400 |
commit | e984fb341f293ab21c7d63897357ffca08280268 (patch) | |
tree | 0229cecb09f82b364150ecd6d91660c789de1ea1 /src | |
parent | 13c98bdfc41eefb75da24fd2a886b0ef5314b7f6 (diff) | |
download | postgresql-e984fb341f293ab21c7d63897357ffca08280268.tar.gz postgresql-e984fb341f293ab21c7d63897357ffca08280268.zip |
Don't listen to localhost in ssl_passphrase_callback test
Commit 896fcdb230 contained an unnecessary setting that listened to
localhost. Since the test doesn't actually try to make an SSL connection
to the database this isn't required. Moreover, it's a security hole.
Per gripe from Tom Lane.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/modules/ssl_passphrase_callback/t/001_testfunc.pl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/modules/ssl_passphrase_callback/t/001_testfunc.pl b/src/test/modules/ssl_passphrase_callback/t/001_testfunc.pl index c052d72f9cd..8d135d2495f 100644 --- a/src/test/modules/ssl_passphrase_callback/t/001_testfunc.pl +++ b/src/test/modules/ssl_passphrase_callback/t/001_testfunc.pl @@ -28,7 +28,6 @@ $node->append_conf('postgresql.conf', "ssl_passphrase.passphrase = '$rot13pass'"); $node->append_conf('postgresql.conf', "shared_preload_libraries = 'ssl_passphrase_func'"); -$node->append_conf('postgresql.conf', "listen_addresses = 'localhost'"); $node->append_conf('postgresql.conf', "ssl = 'on'"); my $ddir = $node->data_dir; |