mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Fix capitalization of messages, per style guide
This commit is contained in:
parent
c5114e42fa
commit
d5627f3cd0
@ -426,7 +426,7 @@ pg_SASL_init(PGconn *conn, int payloadlen)
|
||||
!conn->ssl_in_use)
|
||||
{
|
||||
printfPQExpBuffer(&conn->errorMessage,
|
||||
libpq_gettext("Channel binding required, but SSL not in use\n"));
|
||||
libpq_gettext("channel binding required, but SSL not in use\n"));
|
||||
goto error;
|
||||
}
|
||||
|
||||
@ -833,13 +833,13 @@ check_expected_areq(AuthRequest areq, PGconn *conn)
|
||||
if (!pg_fe_scram_channel_bound(conn->sasl_state))
|
||||
{
|
||||
printfPQExpBuffer(&conn->errorMessage,
|
||||
libpq_gettext("Channel binding required, but server authenticated client without channel binding\n"));
|
||||
libpq_gettext("channel binding required, but server authenticated client without channel binding\n"));
|
||||
result = false;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
printfPQExpBuffer(&conn->errorMessage,
|
||||
libpq_gettext("Channel binding required but not supported by server's authentication request\n"));
|
||||
libpq_gettext("channel binding required but not supported by server's authentication request\n"));
|
||||
result = false;
|
||||
break;
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ else
|
||||
test_connect_fails(
|
||||
$common_connstr,
|
||||
"user=md5testuser channel_binding=require",
|
||||
qr/Channel binding required but not supported by server's authentication request/,
|
||||
qr/channel binding required but not supported by server's authentication request/,
|
||||
"MD5 with SSL and channel_binding=require");
|
||||
|
||||
# Now test with auth method 'cert' by connecting to 'certdb'. Should
|
||||
@ -96,7 +96,7 @@ chmod 0600, "ssl/client_tmp.key";
|
||||
test_connect_fails(
|
||||
"sslcert=ssl/client.crt sslkey=ssl/client_tmp.key hostaddr=$SERVERHOSTADDR",
|
||||
"dbname=certdb user=ssltestuser channel_binding=require",
|
||||
qr/Channel binding required, but server authenticated client without channel binding/,
|
||||
qr/channel binding required, but server authenticated client without channel binding/,
|
||||
"Cert authentication and channel_binding=require");
|
||||
|
||||
done_testing($number_of_tests);
|
||||
|
Loading…
x
Reference in New Issue
Block a user