Skip to content

Commit 0d8c613

Browse files
committed
Message wordsmithing
1 parent 390081e commit 0d8c613

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/interfaces/libpq/fe-secure.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.116 2009/01/07 12:02:46 mha Exp $
14+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.117 2009/01/19 08:59:13 petere Exp $
1515
*
1616
* NOTES
1717
*
@@ -508,7 +508,7 @@ verify_peer_name_matches_certificate(PGconn *conn)
508508
if (conn->pghostaddr)
509509
{
510510
printfPQExpBuffer(&conn->errorMessage,
511-
libpq_gettext("verified SSL connections are only supported when connecting to a hostname"));
511+
libpq_gettext("verified SSL connections are only supported when connecting to a host name"));
512512
return false;
513513
}
514514
else
@@ -527,7 +527,7 @@ verify_peer_name_matches_certificate(PGconn *conn)
527527
else
528528
{
529529
printfPQExpBuffer(&conn->errorMessage,
530-
libpq_gettext("server common name '%s' does not match hostname '%s'"),
530+
libpq_gettext("server common name \"%s\" does not match host name \"%s\""),
531531
conn->peer_cn, conn->pghost);
532532
return false;
533533
}
@@ -569,7 +569,7 @@ client_cert_cb(SSL *ssl, X509 **x509, EVP_PKEY **pkey)
569569
if (!pqGetHomeDirectory(homedir, sizeof(homedir)))
570570
{
571571
printfPQExpBuffer(&conn->errorMessage,
572-
libpq_gettext("cannot find home directory to locate client certificate files"));
572+
libpq_gettext("could not get home directory to locate client certificate files"));
573573
return 0;
574574
}
575575
}
@@ -983,7 +983,7 @@ initialize_SSL(PGconn *conn)
983983
if (strcmp(conn->sslverify, "none") != 0)
984984
{
985985
printfPQExpBuffer(&conn->errorMessage,
986-
libpq_gettext("cannot find home directory to locate root certificate file"));
986+
libpq_gettext("could not get home directory to locate root certificate file"));
987987
return -1;
988988
}
989989
}
@@ -1049,7 +1049,7 @@ initialize_SSL(PGconn *conn)
10491049
if (strcmp(conn->sslverify, "none") != 0)
10501050
{
10511051
printfPQExpBuffer(&conn->errorMessage,
1052-
libpq_gettext("root certificate file (%s) not found"), fnbuf);
1052+
libpq_gettext("root certificate file »%s« does not exist"), fnbuf);
10531053
return -1;
10541054
}
10551055
}

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