Skip to content

Commit 49223e1

Browse files
committed
Message wording tweaks
Make the wording of new libpq messages more similar to existing messages in the backend.
1 parent add4211 commit 49223e1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ initialize_SSL(PGconn *conn)
851851
if (ssl_min_ver == -1)
852852
{
853853
printfPQExpBuffer(&conn->errorMessage,
854-
libpq_gettext("invalid value \"%s\" for minimum version of SSL protocol\n"),
854+
libpq_gettext("invalid value \"%s\" for minimum SSL protocol version\n"),
855855
conn->ssl_min_protocol_version);
856856
SSL_CTX_free(SSL_context);
857857
return -1;
@@ -862,7 +862,7 @@ initialize_SSL(PGconn *conn)
862862
char *err = SSLerrmessage(ERR_get_error());
863863

864864
printfPQExpBuffer(&conn->errorMessage,
865-
libpq_gettext("could not set minimum version of SSL protocol: %s\n"),
865+
libpq_gettext("could not set minimum SSL protocol version: %s\n"),
866866
err);
867867
SSLerrfree(err);
868868
SSL_CTX_free(SSL_context);
@@ -880,7 +880,7 @@ initialize_SSL(PGconn *conn)
880880
if (ssl_max_ver == -1)
881881
{
882882
printfPQExpBuffer(&conn->errorMessage,
883-
libpq_gettext("invalid value \"%s\" for maximum version of SSL protocol\n"),
883+
libpq_gettext("invalid value \"%s\" for maximum SSL protocol version\n"),
884884
conn->ssl_max_protocol_version);
885885
SSL_CTX_free(SSL_context);
886886
return -1;
@@ -891,7 +891,7 @@ initialize_SSL(PGconn *conn)
891891
char *err = SSLerrmessage(ERR_get_error());
892892

893893
printfPQExpBuffer(&conn->errorMessage,
894-
libpq_gettext("could not set maximum version of SSL protocol: %s\n"),
894+
libpq_gettext("could not set maximum SSL protocol version: %s\n"),
895895
err);
896896
SSLerrfree(err);
897897
SSL_CTX_free(SSL_context);

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