First pass of converting ssl_kex.c to opaque DH.
authortb <tb@openbsd.org>
Mon, 29 Nov 2021 18:48:22 +0000 (18:48 +0000)
committertb <tb@openbsd.org>
Mon, 29 Nov 2021 18:48:22 +0000 (18:48 +0000)
commitf70fe689487599f04200a4af965039a9f81b0eaf
tree7a69bfc0a37e9430aee96aa270e946ff5218db89
parent39f1af7ade1e236a51a12238c57fd4e9b29b7c0e
First pass of converting ssl_kex.c to opaque DH.

Assign the result of BN_dup() and BN_bn2bin() to local BIGNUMs, then
set the factors and pubkey on the dh using DH_set0_{pqg,key}().

A second pass will be done during the upcoming bump.

ok jsing
lib/libssl/ssl_kex.c