Make EVP_PKEY_CTX_[get|set]_group_name work for DH too
authorMatt Caswell <matt@openssl.org>
Wed, 20 May 2020 13:46:22 +0000 (14:46 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 19 Jun 2020 09:19:31 +0000 (10:19 +0100)
commit023b188ca553aa4318d8e7021e3abbbb98833410
tree5c07206b35fe146b26c164f6c79d340da745a1bf
parent11a1b341f3bc6a0afe75f9432f623026624fb720
Make EVP_PKEY_CTX_[get|set]_group_name work for DH too

The previous commit added the EVP_PKEY_CTX_[get|set]_group_name
functions to work with EC groups. We now extend that to also work for
DH.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11914)
crypto/dh/dh_lib.c
crypto/evp/evp_lib.c
crypto/evp/pmeth_lib.c
crypto/ffc/ffc_backend.c
crypto/ffc/ffc_params.c
doc/man7/EVP_PKEY-DH.pod
include/openssl/core_names.h
providers/implementations/keymgmt/dh_kmgmt.c
test/acvp_test.c
test/dsatest.c
test/evp_pkey_provided_test.c