diff options
author | Matt Caswell <matt@openssl.org> | 2020-05-20 14:46:22 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-06-19 10:19:31 +0100 |
commit | 023b188ca553aa4318d8e7021e3abbbb98833410 (patch) | |
tree | 5c07206b35fe146b26c164f6c79d340da745a1bf /test/dsatest.c | |
parent | 11a1b341f3bc6a0afe75f9432f623026624fb720 (diff) | |
download | openssl-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.c | 2 |
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; |