Content-Length: 261853 | pFad | http://github.com/postgrespro/postgres_cluster/commit/1a01595cc2ffb20ef9f2bc1a92d39728b65e3797

D8 Make new SSL TAP test for channel_binding more robust · postgrespro/postgres_cluster@1a01595 · GitHub
Skip to content

Commit 1a01595

Browse files
committed
Make new SSL TAP test for channel_binding more robust
The test would fail in an environment including a certificate file in ~/.postgresql/. bdd6e9b fixed a similar failure, and d6e612f introduced the same problem again with a new test. Author: Kyotaro Horiguchi Discussion: https://postgr.es/m/20200804.120033.31225582282178001.horikyota.ntt@gmail.com Backpatch-through: 13
1 parent e7a6cd5 commit 1a01595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ssl/t/002_scram.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
copy("ssl/client.key", $client_tmp_key);
9898
chmod 0600, $client_tmp_key;
9999
test_connect_fails(
100-
"sslcert=ssl/client.crt sslkey=$client_tmp_key hostaddr=$SERVERHOSTADDR",
100+
"sslcert=ssl/client.crt sslkey=$client_tmp_key sslrootcert=invalid hostaddr=$SERVERHOSTADDR",
101101
"dbname=certdb user=ssltestuser channel_binding=require",
102102
qr/channel binding required, but server authenticated client without channel binding/,
103103
"Cert authentication and channel_binding=require");

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/1a01595cc2ffb20ef9f2bc1a92d39728b65e3797

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy