Skip to content

Commit 958c7ae

Browse files
committed
Fix typo and improve punctuation
1 parent 77216ca commit 958c7ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/ssl/t/001_ssltests.pl

+5-5
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,20 @@
4646
$common_connstr =
4747
"user=ssltestuser dbname=trustdb sslcert=invalid hostaddr=$SERVERHOSTADDR host=common-name.pg-ssltest.test";
4848

49-
# The server should not accept non-SSL connections
49+
# The server should not accept non-SSL connections.
5050
note "test that the server doesn't accept non-SSL connections";
5151
test_connect_fails($common_connstr, "sslmode=disable");
5252

5353
# Try without a root cert. In sslmode=require, this should work. In verify-ca
54-
# or verify-full mode it should fail
54+
# or verify-full mode it should fail.
5555
note "connect without server root cert";
5656
test_connect_ok($common_connstr, "sslrootcert=invalid sslmode=require");
5757
test_connect_fails($common_connstr, "sslrootcert=invalid sslmode=verify-ca");
5858
test_connect_fails($common_connstr, "sslrootcert=invalid sslmode=verify-full");
5959

60-
# Try with wrong root cert, should fail. (we're using the client CA as the
61-
# root, but the server's key is signed by the server CA)
62-
note "connect without wrong server root cert";
60+
# Try with wrong root cert, should fail. (We're using the client CA as the
61+
# root, but the server's key is signed by the server CA.)
62+
note "connect with wrong server root cert";
6363
test_connect_fails($common_connstr,
6464
"sslrootcert=ssl/client_ca.crt sslmode=require");
6565
test_connect_fails($common_connstr,

0 commit comments

Comments
 (0)