aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-01-18 13:00:49 -0500
committerPeter Eisentraut <peter_e@gmx.net>2018-01-18 13:00:49 -0500
commit958c7ae0b7ca4ee9d422271c2ffbef4e3a6d1c47 (patch)
treeb33ed32f667d7ae706bb3b016e16cc099fa5c0e6 /src
parent77216cae47e3ded13f36361f60ce04ec0a709e2a (diff)
downloadpostgresql-958c7ae0b7ca4ee9d422271c2ffbef4e3a6d1c47.tar.gz
postgresql-958c7ae0b7ca4ee9d422271c2ffbef4e3a6d1c47.zip
Fix typo and improve punctuation
Diffstat (limited to 'src')
-rw-r--r--src/test/ssl/t/001_ssltests.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/ssl/t/001_ssltests.pl b/src/test/ssl/t/001_ssltests.pl
index a0a06825c6d..28837a13914 100644
--- a/src/test/ssl/t/001_ssltests.pl
+++ b/src/test/ssl/t/001_ssltests.pl
@@ -46,20 +46,20 @@ note "running client tests";
$common_connstr =
"user=ssltestuser dbname=trustdb sslcert=invalid hostaddr=$SERVERHOSTADDR host=common-name.pg-ssltest.test";
-# The server should not accept non-SSL connections
+# The server should not accept non-SSL connections.
note "test that the server doesn't accept non-SSL connections";
test_connect_fails($common_connstr, "sslmode=disable");
# Try without a root cert. In sslmode=require, this should work. In verify-ca
-# or verify-full mode it should fail
+# or verify-full mode it should fail.
note "connect without server root cert";
test_connect_ok($common_connstr, "sslrootcert=invalid sslmode=require");
test_connect_fails($common_connstr, "sslrootcert=invalid sslmode=verify-ca");
test_connect_fails($common_connstr, "sslrootcert=invalid sslmode=verify-full");
-# 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)
-note "connect without wrong server root cert";
+# 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.)
+note "connect with wrong server root cert";
test_connect_fails($common_connstr,
"sslrootcert=ssl/client_ca.crt sslmode=require");
test_connect_fails($common_connstr,