Skip to content

Commit baa82b7

Browse files
committed
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
1 parent e9f2923 commit baa82b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2927,7 +2927,7 @@ PQconnectPoll(PGconn *conn)
29272927
if (conn->raddr.addr.ss_family == AF_UNIX)
29282928
{
29292929
libpq_append_conn_error(conn,
2930-
"GSSAPI encryption required but it is not supported over a local socket)");
2930+
"GSSAPI encryption required but it is not supported over a local socket");
29312931
goto error_return;
29322932
}
29332933
if (conn->gcred == GSS_C_NO_CREDENTIAL)

src/interfaces/libpq/fe-secure-openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ initialize_SSL(PGconn *conn)
12461246
{
12471247
char *err = SSLerrmessage(ERR_get_error());
12481248

1249-
libpq_append_conn_error(conn, "could not set ssl alpn extension: %s", err);
1249+
libpq_append_conn_error(conn, "could not set SSL ALPN extension: %s", err);
12501250
SSLerrfree(err);
12511251
return -1;
12521252
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy