]> 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:50 +0000 (15:05 +0100)
commitf3bbd7d814c152a3582365734dc7b95c4fb3a863
tree3bd3389aa2fe2ff7fa7c8e10fc5b9f45bc6156f7
parent8af71fc56d0103e7bc0ebb12af152ed3b6ab0250
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