]> granicus.if.org Git - postgresql/commitdiff
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 c3ccaa12508efe0f5e683cdcb0bea0360370535a..2d5eff7dee1f35d7b2394c494d42b73594a9bda2 100644 (file)
@@ -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;
                }
        }