]> git.kaiwu.me - haproxy.git/commit
MINOR: ssl: Factorize ssl_get_tmp_dh and append a cbk to its name
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Fri, 11 Feb 2022 11:04:49 +0000 (12:04 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 14 Feb 2022 09:07:14 +0000 (10:07 +0100)
commit292a88ce94a0d0b56252be1f89f26a31f891415d
tree0b108268aeb796d81ced49b3cfad5215d50ca5ac
parent09ebb3359af32fd94368a7e785b6deaf2fdf9bbf
MINOR: ssl: Factorize ssl_get_tmp_dh and append a cbk to its name

In the upcoming OpenSSLv3 specific patches, we will make use of the
newly created ssl_get_tmp_dh that returns an EVP_PKEY containing DH
parameters of the same size as a bind line's RSA or DSA private key.
The previously named ssl_get_tmp_dh function was renamed
ssl_get_tmp_dh_cbk because it is only used as a callback passed to
OpenSSL through SSL_CTX_set_tmp_dh_callback calls.
src/ssl_sock.c