diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2021-02-18 15:56:53 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2021-02-26 10:50:30 +1000 |
commit | 19dbb742cdf68d8ada6338a025491a3b46b9ebe1 (patch) | |
tree | bf4d54751be7e826ad47f690990bde107d30b839 /test | |
parent | 94553e85b68af4513a8ee89cd2a0d4e044d75139 (diff) |
Fix external symbols related to dh keys
Partial fix for #12964
This adds ossl_ names for the following symbols:
dh_new_by_nid_ex, dh_new_ex, dh_generate_ffc_parameters, dh_generate_public_key,
dh_get_named_group_uid_from_size, dh_gen_type_id2name, dh_gen_type_name2id,
dh_cache_named_group, dh_get0_params, dh_get0_nid,
dh_params_fromdata, dh_key_fromdata, dh_params_todata, dh_key_todata,
dh_check_pub_key_partial, dh_check_priv_key, dh_check_pairwise,
dh_get_method, dh_buf2key, dh_key2buf, dh_KDF_X9_42_asn1,
dh_pkey_method, dhx_pkey_method
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14231)
Diffstat (limited to 'test')
-rw-r--r-- | test/ffc_internal_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ffc_internal_test.c b/test/ffc_internal_test.c index 1cbaec891b..3c54d68010 100644 --- a/test/ffc_internal_test.c +++ b/test/ffc_internal_test.c @@ -435,7 +435,7 @@ err: return ret; } -extern FFC_PARAMS *dh_get0_params(DH *dh); +extern FFC_PARAMS *ossl_dh_get0_params(DH *dh); static int ffc_public_validate_test(void) { @@ -449,7 +449,7 @@ static int ffc_public_validate_test(void) if (!TEST_ptr(dh = DH_new_by_nid(NID_ffdhe2048))) goto err; - params = dh_get0_params(dh); + params = ossl_dh_get0_params(dh); if (!TEST_true(BN_set_word(pub, 1))) goto err; @@ -528,7 +528,7 @@ static int ffc_private_validate_test(void) if (!TEST_ptr(dh = DH_new_by_nid(NID_ffdhe2048))) goto err; - params = dh_get0_params(dh); + params = ossl_dh_get0_params(dh); if (!TEST_true(BN_set_word(priv, 1))) goto err; @@ -589,7 +589,7 @@ static int ffc_private_gen_test(int index) if (!TEST_ptr(dh = DH_new_by_nid(NID_ffdhe2048))) goto err; - params = dh_get0_params(dh); + params = ossl_dh_get0_params(dh); N = BN_num_bits(params->q); /* Fail since N < 2*s - where s = 112*/ |