summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas2024-04-09 05:06:31 +0000
committerHeikki Linnakangas2024-04-09 05:06:31 +0000
commitbaa82b78dc97459b6d2a5843cc77fcf755809269 (patch)
treecff654cb4ff243a12d502aaf0ebc6e7908d9696c /src
parente9f29233fd67bd6b6667b61c88aa1f37f61f353a (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/fe-connect.c2
-rw-r--r--src/interfaces/libpq/fe-secure-openssl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c
index 4bd523ec6e3..e35bdc40361 100644
--- a/src/interfaces/libpq/fe-connect.c
+++ b/src/interfaces/libpq/fe-connect.c
@@ -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)
diff --git a/src/interfaces/libpq/fe-secure-openssl.c b/src/interfaces/libpq/fe-secure-openssl.c
index d559ed86e8d..c98cfa60848 100644
--- a/src/interfaces/libpq/fe-secure-openssl.c
+++ b/src/interfaces/libpq/fe-secure-openssl.c
@@ -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;
}