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

Lines changed: 5 additions & 5 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy