]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD/MINOR: ssl: shut up a build warning about format truncation
authorWilly Tarreau <w@1wt.eu>
Tue, 29 Oct 2019 09:48:50 +0000 (10:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Oct 2019 09:50:22 +0000 (10:50 +0100)
commit0580052bb6f9c924daedfe62d779eade68677adf
tree2fcc65f9bb6ccea22d44acae19449fc5d7c9898c
parent4fd6d671b239942c93a2f48850b32b9be150b1ba
BUILD/MINOR: ssl: shut up a build warning about format truncation

Actually gcc believes it has detected a possible truncation but it
cannot since the output string is necessarily at least one char
shorter than what it expects. However addressing it is easy and
removes the need for an intermediate copy so let's do it.
src/ssl_sock.c