BUG/MEDIUM: ssl: fix the gcc-12 broken fix :-(

... or how a bogus warning forces you to do tricky changes in your code
and fail on a length test condition! Fortunately it changed in the right
direction that immediately broke, due to a missing "> sizeof(path)" that
had to be added to the already ugly condition.

This fixes recent commit 393e42ae5 ("BUILD: ssl: work around bogus warning
in gcc 12's -Wformat-truncation"). It may have to be backported if that
one is backported.

(cherry picked from commit 63fc900ba282437b96868103f1eb7db9ee7f482c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit dc8262796d95b4c1064fc800c888d174c31cf531)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed