summaryrefslogtreecommitdiff
path: root/test/dsatest.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-05-20 14:46:22 +0100
committerMatt Caswell <matt@openssl.org>2020-06-19 10:19:31 +0100
commit023b188ca553aa4318d8e7021e3abbbb98833410 (patch)
tree5c07206b35fe146b26c164f6c79d340da745a1bf /test/dsatest.c
parent11a1b341f3bc6a0afe75f9432f623026624fb720 (diff)
downloadopenssl-new-023b188ca553aa4318d8e7021e3abbbb98833410.tar.gz
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)
Diffstat (limited to 'test/dsatest.c')
-rw-r--r--test/dsatest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dsatest.c b/test/dsatest.c
index 8444ea147a..614a8ea1d8 100644
--- a/test/dsatest.c
+++ b/test/dsatest.c
@@ -282,7 +282,7 @@ static int dsa_keygen_test(void)
&pcount_out))
|| !TEST_int_eq(pcount_out, expected_c)
|| !TEST_false(EVP_PKEY_get_utf8_string_param(key,
- OSSL_PKEY_PARAM_DH_GROUP,
+ OSSL_PKEY_PARAM_GROUP_NAME,
group_out,
sizeof(group_out), &len)))
goto end;