projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c553b6
)
Fix accidental (I suppose) introduction of non-ASCII quote marks.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 19 Jan 2009 17:17:50 +0000
(17:17 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 19 Jan 2009 17:17:50 +0000
(17:17 +0000)
src/interfaces/libpq/fe-secure.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/fe-secure.c
b/src/interfaces/libpq/fe-secure.c
index 1292d5c0a3c57d6f59903505bf13c13182fedc2d..eb7ee75acd67901e01a71886721a27a38034740c 100644
(file)
--- a/
src/interfaces/libpq/fe-secure.c
+++ b/
src/interfaces/libpq/fe-secure.c
@@
-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;
}
}