Commit 49223e10 authored by Peter Eisentraut's avatar Peter Eisentraut

Message wording tweaks

Make the wording of new libpq messages more similar to existing
messages in the backend.
parent add42116
......@@ -851,7 +851,7 @@ initialize_SSL(PGconn *conn)
if (ssl_min_ver == -1)
{
printfPQExpBuffer(&conn->errorMessage,
libpq_gettext("invalid value \"%s\" for minimum version of SSL protocol\n"),
libpq_gettext("invalid value \"%s\" for minimum SSL protocol version\n"),
conn->ssl_min_protocol_version);
SSL_CTX_free(SSL_context);
return -1;
......@@ -862,7 +862,7 @@ initialize_SSL(PGconn *conn)
char *err = SSLerrmessage(ERR_get_error());
printfPQExpBuffer(&conn->errorMessage,
libpq_gettext("could not set minimum version of SSL protocol: %s\n"),
libpq_gettext("could not set minimum SSL protocol version: %s\n"),
err);
SSLerrfree(err);
SSL_CTX_free(SSL_context);
......@@ -880,7 +880,7 @@ initialize_SSL(PGconn *conn)
if (ssl_max_ver == -1)
{
printfPQExpBuffer(&conn->errorMessage,
libpq_gettext("invalid value \"%s\" for maximum version of SSL protocol\n"),
libpq_gettext("invalid value \"%s\" for maximum SSL protocol version\n"),
conn->ssl_max_protocol_version);
SSL_CTX_free(SSL_context);
return -1;
......@@ -891,7 +891,7 @@ initialize_SSL(PGconn *conn)
char *err = SSLerrmessage(ERR_get_error());
printfPQExpBuffer(&conn->errorMessage,
libpq_gettext("could not set maximum version of SSL protocol: %s\n"),
libpq_gettext("could not set maximum SSL protocol version: %s\n"),
err);
SSLerrfree(err);
SSL_CTX_free(SSL_context);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment