]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: use MAXPATHLEN instead of PATH_MAX
authorWilly Tarreau <w@1wt.eu>
Tue, 13 Aug 2013 14:59:39 +0000 (16:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 13 Aug 2013 14:59:39 +0000 (16:59 +0200)
commit380110368e11e00579149a0347104d2ff553c1e7
treeb9a82c71dad5183fca0466dcf1a324bc76787359
parent33fba6f78f2e9e9f1274bde10ac1cd86f2804d64
MINOR: ssl: use MAXPATHLEN instead of PATH_MAX

Apollon Oikonomopoulos reported a build failure on Hurd where PATH_MAX
is not defined. The only place where it is referenced is ssl_sock.c,
all other places use MAXPATHLEN instead, with a fallback to 128 when
the OS does not define it. So let's switch to MAXPATHLEN as well.
src/ssl_sock.c