In DH_set0_pqg() also set dh->length if q is set to match what OpenSSL do.
authortb <tb@openbsd.org>
Tue, 23 Nov 2021 09:53:45 +0000 (09:53 +0000)
committertb <tb@openbsd.org>
Tue, 23 Nov 2021 09:53:45 +0000 (09:53 +0000)
commit1085073b2b4e1e5fdfac7b06368632e1ec8cd662
tree17c006a5dd1bbdd4ef2dc2331ae3e4fa1579d183
parentd2101683cfab046247c06cf24eb15360f62a78dc
In DH_set0_pqg() also set dh->length if q is set to match what OpenSSL do.

ok inoguchi jsing
lib/libcrypto/dh/dh_lib.c