From cc1d292d786e593e3842db6bb5084d499c5f3383 Mon Sep 17 00:00:00 2001 From: Tom Lane <tgl@sss.pgh.pa.us> Date: Mon, 19 Jan 2009 17:17:50 +0000 Subject: [PATCH] Fix accidental (I suppose) introduction of non-ASCII quote marks. --- src/interfaces/libpq/fe-secure.c | 7 ++++--- 1 file 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; } } -- GitLab