diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-03-04 11:38:45 -0500 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-03-04 11:39:14 -0500 |
| commit | 2ff092bcd8e204fa1a8469c64d2cc297242f31f4 (patch) | |
| tree | 68fe9a88e0097b30ec64b3201d3c7081018e6d1c /src/backend/utils/adt/int8.c | |
| parent | a48fb0b59811e8b41e727b54b39bef28d6f253ea (diff) | |
In initialize_SSL, don't fail unnecessarily when home dir is unavailable.
Instead, just act as though the certificate file(s) are not present.
There is only one case where this need be a hard failure condition: when
sslmode is verify-ca or verify-full, not having a root cert file is an
error. Change the logic so that we complain only in that case, and
otherwise fall through cleanly. This is how it used to behave pre-9.0,
but my patch 4ed4b6c54e5fab24ab2624d80e26f7546edc88ad of 2010-05-26 broke
the case. Per report from Christian Kastner.
Diffstat (limited to 'src/backend/utils/adt/int8.c')
0 files changed, 0 insertions, 0 deletions
