Attempt to open certificate file "manually" using fopen before
authorMagnus Hagander <magnus@hagander.net>
Wed, 3 Oct 2007 13:57:52 +0000 (13:57 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 3 Oct 2007 13:57:52 +0000 (13:57 +0000)
commit019a6243a7e9ca4b3d89cb59c83c5a366b6e3164
treedb01e72fafd3b6f2b9f860fca6591c6c53fe8ebc
parent46424c38d93d97e9bcb2ae33dc937e71683ae610
Attempt to open certificate file "manually" using fopen before
trying BIO functions.
Helps problem with older versions of OpenSSL that lacks error
stack functions and would show an incorrect error message for
file-not-found-or-not-openable. The problem may still exist for
other errors, but file open error is by far the most common one.
src/interfaces/libpq/fe-secure.c