dhtest: Add testcase for EVP_PKEY_CTX_set_dh_nid
authorTomas Mraz <tomas@openssl.org>
Thu, 13 Jan 2022 18:02:31 +0000 (19:02 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 17 Jan 2022 15:24:33 +0000 (16:24 +0100)
commit67397a6aeda3383bdc7c7165d8c0efe9423cc7a9
tree721a304c483e6aedebfd9d8839da8da7f8e3a058
parent8bb90f43aa732efb9530edc2ab3767b228d5d9da
dhtest: Add testcase for EVP_PKEY_CTX_set_dh_nid

And a negative testcase for EVP_PKEY_CTX_set_dhx_rfc5114

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17498)

(cherry picked from commit 59d3fd1cc8c938daa6384783a7e5847d6f5201f7)
test/dhtest.c