Fix accidental (I suppose) introduction of non-ASCII quote marks.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 Jan 2009 17:17:50 +0000 (17:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 Jan 2009 17:17:50 +0000 (17:17 +0000)
src/interfaces/libpq/fe-secure.c

index 1292d5c0a3c57d6f59903505bf13c13182fedc2d..eb7ee75acd67901e01a71886721a27a38034740c 100644 (file)
@@ -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;
                }
        }