]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: Set default dh size to 2048
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Fri, 11 Feb 2022 11:04:54 +0000 (12:04 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 14 Feb 2022 09:07:14 +0000 (10:07 +0100)
commit55d7e782eec37e5e90f0dd36f957ef9a0fc74b96
tree85848dca776444f3fa552e2b5b78a615efd9693e
parentbed72631f97d141c8878392a7441fde56192f103
MINOR: ssl: Set default dh size to 2048

Starting from OpenSSLv3, we won't rely on the
SSL_CTX_set_tmp_dh_callback mechanism so we will need to know the DH
size we want to use during init. In order for the default DH param size
to be used when no RSA or DSA private key can be found for a given bind
line, we will need to know the default size we want to use (which was
not possible the way the code was built, since the global default dh
size was set too late.
include/haproxy/defaults.h
src/ssl_sock.c