libpq error message fixes
Remove stray paren, capitalize SSL and ALPN. Author: Kyotaro Horiguchi Discussion: https://www.postgresql.org/message-id/20240409.104613.1653854506705708036.horikyota.ntt@gmail.com
This commit is contained in:
parent
e9f29233fd
commit
baa82b78dc
|
@ -2927,7 +2927,7 @@ keep_going: /* We will come back to here until there is
|
||||||
if (conn->raddr.addr.ss_family == AF_UNIX)
|
if (conn->raddr.addr.ss_family == AF_UNIX)
|
||||||
{
|
{
|
||||||
libpq_append_conn_error(conn,
|
libpq_append_conn_error(conn,
|
||||||
"GSSAPI encryption required but it is not supported over a local socket)");
|
"GSSAPI encryption required but it is not supported over a local socket");
|
||||||
goto error_return;
|
goto error_return;
|
||||||
}
|
}
|
||||||
if (conn->gcred == GSS_C_NO_CREDENTIAL)
|
if (conn->gcred == GSS_C_NO_CREDENTIAL)
|
||||||
|
|
|
@ -1246,7 +1246,7 @@ initialize_SSL(PGconn *conn)
|
||||||
{
|
{
|
||||||
char *err = SSLerrmessage(ERR_get_error());
|
char *err = SSLerrmessage(ERR_get_error());
|
||||||
|
|
||||||
libpq_append_conn_error(conn, "could not set ssl alpn extension: %s", err);
|
libpq_append_conn_error(conn, "could not set SSL ALPN extension: %s", err);
|
||||||
SSLerrfree(err);
|
SSLerrfree(err);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue