File tree 2 files changed +5
-5
lines changed
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)
426
426
!conn -> ssl_in_use )
427
427
{
428
428
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" ));
430
430
goto error ;
431
431
}
432
432
@@ -833,13 +833,13 @@ check_expected_areq(AuthRequest areq, PGconn *conn)
833
833
if (!pg_fe_scram_channel_bound (conn -> sasl_state ))
834
834
{
835
835
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" ));
837
837
result = false;
838
838
}
839
839
break ;
840
840
default :
841
841
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" ));
843
843
result = false;
844
844
break ;
845
845
}
Original file line number Diff line number Diff line change 86
86
test_connect_fails(
87
87
$common_connstr ,
88
88
" 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/ ,
90
90
" MD5 with SSL and channel_binding=require" );
91
91
92
92
# Now test with auth method 'cert' by connecting to 'certdb'. Should
96
96
test_connect_fails(
97
97
" sslcert=ssl/client.crt sslkey=ssl/client_tmp.key hostaddr=$SERVERHOSTADDR " ,
98
98
" 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/ ,
100
100
" Cert authentication and channel_binding=require" );
101
101
102
102
done_testing($number_of_tests );
You can’t perform that action at this time.
0 commit comments