BUG/MINOR: ssl: don't report 1024 bits DH param load error when it's higher
authorWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 18:38:05 +0000 (19:38 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Nov 2020 08:09:35 +0000 (09:09 +0100)
commit58ee2312fc30355b8459e402f8a790cb21c97365
tree062d54289acfb6ca978cc9ca8cdbcd20412fa393
parent1c0a722a83e7c45456a2b82c15889ab9ab5c4948
BUG/MINOR: ssl: don't report 1024 bits DH param load error when it's higher

The default dh_param value is 2048 and it's preset to zero unless explicitly
set, so we must not report a warning about DH param not being loadble in 1024
bits when we're going to use 2048. Thanks to Dinko for reporting this.

This should be backported to 2.2.

(cherry picked from commit 6d27a92b83f75bab42bda08ed28b70fb95525fd9)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/ssl_sock.c