]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: ssl: only pass unsigned chars to isspace()
authorWilly Tarreau <w@1wt.eu>
Tue, 25 Feb 2020 06:51:59 +0000 (07:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 25 Feb 2020 06:51:59 +0000 (07:51 +0100)
commitded15b75640d8f96929beefa3357cafbea25171e
treec5626afe29ed3433a742c14b902083be7494e30f
parent017484c80f2fd265281853fdf0bc816b19a751da
BUILD: ssl: only pass unsigned chars to isspace()

A build failure on cygwin was reported on github actions here:

  https://github.com/haproxy/haproxy/runs/466507874

It's caused by a signed char being passed to isspace(), and this one
being implemented as a macro instead of a function as the man page
suggests. It's the same issue that regularly pops up on Solaris. This
comes from commit 98263291cc3 which was merged in 1.8-dev1. A backport
is possible though not incredibly useful.
src/ssl_sock.c