]> granicus.if.org Git - postgresql/commit
Treat ENOTDIR as ENOENT when looking for client certificate file
authorMagnus Hagander <magnus@hagander.net>
Sat, 3 Dec 2011 14:02:53 +0000 (15:02 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sat, 3 Dec 2011 14:05:35 +0000 (15:05 +0100)
commita6f8e7d9590d157e379efe4a4edfc32ab283ec42
tree0c0d67bf489d31caebb6d72346108918a1896d43
parent1cd1a7c1024503259b3968db6b9e8a888ca97f63
Treat ENOTDIR as ENOENT when looking for client certificate file

This makes it possible to use a libpq app with home directory set
to /dev/null, for example - treating it the same as if the file
doesn't exist (which it doesn't).

Per bug #6302, reported by Diego Elio Petteno
src/interfaces/libpq/fe-secure.c