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)