dh_ameth: Fix dh_cmp_parameters to really compare the params
authorTomas Mraz <tomas@openssl.org>
Thu, 9 Sep 2021 07:12:22 +0000 (09:12 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 10 Sep 2021 10:07:01 +0000 (12:07 +0200)
commitcf1a231d44db81f8565ecae5498a4f1f6f0168c9
treeece3cf2b2c9c89273ff7034fb1e760cfb3204926
parente82fc27bcd34f246e1acd42a61e8ba62907e1d19
dh_ameth: Fix dh_cmp_parameters to really compare the params

This is legacy DH PKEY only code.

Fixes #16562

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16568)
crypto/dh/dh_ameth.c