Factor out/rewrite DHE key exchange.
authorjsing <jsing@openbsd.org>
Mon, 29 Nov 2021 16:00:32 +0000 (16:00 +0000)
committerjsing <jsing@openbsd.org>
Mon, 29 Nov 2021 16:00:32 +0000 (16:00 +0000)
commit76bb720394d14503c5406702e23860ea05dbe4d7
tree4b7588c41fc9af750c9871b86463f382b7a59fd7
parent6d91411b6895606fc262d10a0c65b00dac216d94
Factor out/rewrite DHE key exchange.

This follows what was done previously for ECDHE EC point key exchange and
will allow for deduplication and further code improvement.

Convert the TLSv1.2 client to use the new DHE key exchange functions.

ok inoguchi@ tb@
lib/libssl/ssl_clnt.c
lib/libssl/ssl_kex.c
lib/libssl/ssl_locl.h