Skip to content

Commit d112ea4

Browse files
committed
libpq: Remove a gettext marker
This one error message is just a workaround for a missing OpenSSL error string. But OpenSSL does not have gettext support, so we don't need to provide it in our workaround either. That way, the user-facing behavior is consistent whether the user has a fixed OpenSSL or not.
1 parent f376996 commit d112ea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1753,7 +1753,7 @@ SSLerrmessage(unsigned long ecode)
17531753
if (ERR_GET_LIB(ecode) == ERR_LIB_SSL &&
17541754
ERR_GET_REASON(ecode) == SSL_AD_REASON_OFFSET + SSL_AD_NO_APPLICATION_PROTOCOL)
17551755
{
1756-
snprintf(errbuf, SSL_ERR_LEN, libpq_gettext("no application protocol"));
1756+
snprintf(errbuf, SSL_ERR_LEN, "no application protocol");
17571757
return errbuf;
17581758
}
17591759
#endif

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