pgsql: Don't listen to localhost in ssl_passphrase_callback test

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Don't listen to localhost in ssl_passphrase_callback test
Date: 2020-03-26 01:18:01
Message-ID: E1jHH9l-0003sA-A6@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e984fb341f293ab21c7d63897357ffca08280268

Modified Files
--------------
src/test/modules/ssl_passphrase_callback/t/001_testfunc.pl | 1 -
1 file changed, 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-03-26 01:28:16 Re: pgsql: Provide a TLS init hook
Previous Message Andrew Dunstan 2020-03-26 01:11:09 Re: pgsql: Provide a TLS init hook