diff options
author | Peter Eisentraut | 2024-06-12 06:43:43 +0000 |
---|---|---|
committer | Peter Eisentraut | 2024-06-12 06:43:43 +0000 |
commit | d112ea46813277351b577ee586c6e84e7de8ab27 (patch) | |
tree | 336ca47886af25fbb9e18a867641ce12961d5c33 | |
parent | f376996bb7fe621ac53279a81d475b214e492018 (diff) |
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.
-rw-r--r-- | src/interfaces/libpq/fe-secure-openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-secure-openssl.c b/src/interfaces/libpq/fe-secure-openssl.c index bf9dfbf918f..5c867106fb0 100644 --- a/src/interfaces/libpq/fe-secure-openssl.c +++ b/src/interfaces/libpq/fe-secure-openssl.c @@ -1753,7 +1753,7 @@ SSLerrmessage(unsigned long ecode) if (ERR_GET_LIB(ecode) == ERR_LIB_SSL && ERR_GET_REASON(ecode) == SSL_AD_REASON_OFFSET + SSL_AD_NO_APPLICATION_PROTOCOL) { - snprintf(errbuf, SSL_ERR_LEN, libpq_gettext("no application protocol")); + snprintf(errbuf, SSL_ERR_LEN, "no application protocol"); return errbuf; } #endif |