Commit 418fd596 authored by Bruce Momjian's avatar Bruce Momjian

Add libpq error message text on how to handle missing root.crt file.

parent bda9dc7e
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.122 2009/03/31 01:41:27 tgl Exp $ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.123 2009/04/14 17:30:16 momjian Exp $
* *
* NOTES * NOTES
* *
...@@ -1067,7 +1067,8 @@ initialize_SSL(PGconn *conn) ...@@ -1067,7 +1067,8 @@ initialize_SSL(PGconn *conn)
if (strcmp(conn->sslverify, "none") != 0) if (strcmp(conn->sslverify, "none") != 0)
{ {
printfPQExpBuffer(&conn->errorMessage, printfPQExpBuffer(&conn->errorMessage,
libpq_gettext("root certificate file \"%s\" does not exist"), fnbuf); libpq_gettext("root certificate file \"%s\" does not exist\n"
"Either supply the file or set sslverify to \"none\" to disable server certificate verification.\n"), fnbuf);
return -1; return -1;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment