aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-05-25 22:03:27 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-05-25 22:03:27 +0000
commit20d629320b8ccc899a763155d85cbc0e87b0982b (patch)
tree3fed934a837671984a2d04daa700838b0d3640d5 /src
parentb486e7f3827fec8caa6aaeae29334405feb14b88 (diff)
downloadpostgresql-20d629320b8ccc899a763155d85cbc0e87b0982b.tar.gz
postgresql-20d629320b8ccc899a763155d85cbc0e87b0982b.zip
Add missing newlines to some SSL-related error messages. Noted while testing.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/fe-secure.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c
index 9ffcfff6798..23ac0f3893b 100644
--- a/src/interfaces/libpq/fe-secure.c
+++ b/src/interfaces/libpq/fe-secure.c
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.132 2010/02/26 02:01:33 momjian Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.133 2010/05/25 22:03:27 tgl Exp $
*
* NOTES
*
@@ -600,7 +600,7 @@ verify_peer_name_matches_certificate(PGconn *conn)
if (conn->pghostaddr)
{
printfPQExpBuffer(&conn->errorMessage,
- libpq_gettext("verified SSL connections are only supported when connecting to a host name"));
+ libpq_gettext("verified SSL connections are only supported when connecting to a host name\n"));
return false;
}
else
@@ -619,7 +619,7 @@ verify_peer_name_matches_certificate(PGconn *conn)
else
{
printfPQExpBuffer(&conn->errorMessage,
- libpq_gettext("server common name \"%s\" does not match host name \"%s\""),
+ libpq_gettext("server common name \"%s\" does not match host name \"%s\"\n"),
conn->peer_cn, conn->pghost);
return false;
}
@@ -661,7 +661,7 @@ client_cert_cb(SSL *ssl, X509 **x509, EVP_PKEY **pkey)
if (!pqGetHomeDirectory(homedir, sizeof(homedir)))
{
printfPQExpBuffer(&conn->errorMessage,
- libpq_gettext("could not get home directory to locate client certificate files"));
+ libpq_gettext("could not get home directory to locate client certificate files\n"));
return 0;
}
}
@@ -1091,7 +1091,7 @@ initialize_SSL(PGconn *conn)
* "verify-full" */
{
printfPQExpBuffer(&conn->errorMessage,
- libpq_gettext("could not get home directory to locate root certificate file"));
+ libpq_gettext("could not get home directory to locate root certificate file\n"));
return -1;
}
}