File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 8686test_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
9696test_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
102102done_testing($number_of_tests );
You can’t perform that action at this time.
0 commit comments