aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-secure.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-01-19 17:17:50 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-01-19 17:17:50 +0000
commitcc1d292d786e593e3842db6bb5084d499c5f3383 (patch)
tree9b8b1127e4124d1afb6f8b38140f29fbce8b8280 /src/interfaces/libpq/fe-secure.c
parentcfb9c7f8b5cc8a1ee126fa787b6caf8eaea36461 (diff)
downloadpostgresql-cc1d292d786e593e3842db6bb5084d499c5f3383.tar.gz
postgresql-cc1d292d786e593e3842db6bb5084d499c5f3383.zip
Fix accidental (I suppose) introduction of non-ASCII quote marks.
Diffstat (limited to 'src/interfaces/libpq/fe-secure.c')
-rw-r--r--src/interfaces/libpq/fe-secure.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c
index c3ccaa12508..2d5eff7dee1 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.117 2009/01/19 08:59:13 petere Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.118 2009/01/19 17:17:50 tgl Exp $
*
* NOTES
*
@@ -1043,13 +1043,14 @@ initialize_SSL(PGconn *conn)
}
SSL_CTX_set_verify(SSL_context, SSL_VERIFY_PEER, verify_cb);
- } /* root certificate exists */
+ }
else
{
+ /* stat() failed; assume cert file doesn't exist */
if (strcmp(conn->sslverify, "none") != 0)
{
printfPQExpBuffer(&conn->errorMessage,
- libpq_gettext("root certificate file »%s« does not exist"), fnbuf);
+ libpq_gettext("root certificate file \"%s\" does not exist"), fnbuf);
return -1;
}
}