Fix accidental (I suppose) introduction of non-ASCII quote marks.
This commit is contained in:
parent
cfb9c7f8b5
commit
cc1d292d78
@ -11,7 +11,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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
|
* NOTES
|
||||||
*
|
*
|
||||||
@ -1043,13 +1043,14 @@ initialize_SSL(PGconn *conn)
|
|||||||
}
|
}
|
||||||
|
|
||||||
SSL_CTX_set_verify(SSL_context, SSL_VERIFY_PEER, verify_cb);
|
SSL_CTX_set_verify(SSL_context, SSL_VERIFY_PEER, verify_cb);
|
||||||
} /* root certificate exists */
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
/* stat() failed; assume cert file doesn't exist */
|
||||||
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"), fnbuf);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user