Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d5627f3

Browse files
committed
Fix capitalization of messages, per style guide
1 parent c5114e4 commit d5627f3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/interfaces/libpq/fe-auth.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ pg_SASL_init(PGconn *conn, int payloadlen)
426426
!conn->ssl_in_use)
427427
{
428428
printfPQExpBuffer(&conn->errorMessage,
429-
libpq_gettext("Channel binding required, but SSL not in use\n"));
429+
libpq_gettext("channel binding required, but SSL not in use\n"));
430430
goto error;
431431
}
432432

@@ -833,13 +833,13 @@ check_expected_areq(AuthRequest areq, PGconn *conn)
833833
if (!pg_fe_scram_channel_bound(conn->sasl_state))
834834
{
835835
printfPQExpBuffer(&conn->errorMessage,
836-
libpq_gettext("Channel binding required, but server authenticated client without channel binding\n"));
836+
libpq_gettext("channel binding required, but server authenticated client without channel binding\n"));
837837
result = false;
838838
}
839839
break;
840840
default:
841841
printfPQExpBuffer(&conn->errorMessage,
842-
libpq_gettext("Channel binding required but not supported by server's authentication request\n"));
842+
libpq_gettext("channel binding required but not supported by server's authentication request\n"));
843843
result = false;
844844
break;
845845
}

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
test_connect_fails(
8787
$common_connstr,
8888
"user=md5testuser channel_binding=require",
89-
qr/Channel binding required but not supported by server's authentication request/,
89+
qr/channel binding required but not supported by server's authentication request/,
9090
"MD5 with SSL and channel_binding=require");
9191

9292
# Now test with auth method 'cert' by connecting to 'certdb'. Should
@@ -96,7 +96,7 @@
9696
test_connect_fails(
9797
"sslcert=ssl/client.crt sslkey=ssl/client_tmp.key hostaddr=$SERVERHOSTADDR",
9898
"dbname=certdb user=ssltestuser channel_binding=require",
99-
qr/Channel binding required, but server authenticated client without channel binding/,
99+
qr/channel binding required, but server authenticated client without channel binding/,
100100
"Cert authentication and channel_binding=require");
101101

102102
done_testing($number_of_tests);

0 commit comments

Comments
 (0)