]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: ssl: NAME_MAX is not portable, use MAXPATHLEN instead
authorWilly Tarreau <w@1wt.eu>
Thu, 6 Dec 2012 10:36:59 +0000 (11:36 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Dec 2012 10:36:59 +0000 (11:36 +0100)
commitee2663b1cd59a82d2f2eeb4cca6a943e43ea645e
treeac2f2e4a94e1de048bffaf3e46970de1eb837710
parent7896d5293d13ab73b876fd36ce257a3e1f63a122
BUILD: ssl: NAME_MAX is not portable, use MAXPATHLEN instead

At least Solaris doesn't know about NAME_MAX, so let's use the more portable
MAXPATHLEN instead. This issue was reported by Benjamin Polidore.
src/ssl_sock.c