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)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 18:40:14 +0000 (19:40 +0100)
commit6d27a92b83f75bab42bda08ed28b70fb95525fd9
tree00c8f1aba285f3c7b462d5a13168f1e68f8c5b0d
parenteff2e0a958816ace5ea71c4e958dff647b5bf170
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.
src/ssl_sock.c