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:
Heikki Linnakangas 2024-04-09 08:06:31 +03:00
parent e9f29233fd
commit baa82b78dc
2 changed files with 2 additions and 2 deletions

View File

@ -2927,7 +2927,7 @@ keep_going: /* We will come back to here until there is
if (conn->raddr.addr.ss_family == AF_UNIX)
{
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;
}
if (conn->gcred == GSS_C_NO_CREDENTIAL)

View File

@ -1246,7 +1246,7 @@ initialize_SSL(PGconn *conn)
{
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);
return -1;
}