From 32ab57cbb4877ce7e6b4eb3f9b3cfbb0ff7cd10b Mon Sep 17 00:00:00 2001 From: Shane Lontis Date: Thu, 18 Feb 2021 20:27:26 +1000 Subject: Fix external symbols related to ec & sm2 keys Partial fix for #12964 This adds ossl_ names for the following symbols: ec_*, ecx_*, ecdh_*, ecdsa_*, sm2_* Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/14231) --- crypto/ec/ecdh_ossl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/ec/ecdh_ossl.c') diff --git a/crypto/ec/ecdh_ossl.c b/crypto/ec/ecdh_ossl.c index a42fb55ddc..8a521fd4a5 100644 --- a/crypto/ec/ecdh_ossl.c +++ b/crypto/ec/ecdh_ossl.c @@ -46,8 +46,8 @@ int ossl_ecdh_compute_key(unsigned char **psec, size_t *pseclen, * See Section 5.7.1.2 "Elliptic Curve Cryptography Cofactor Diffie-Hellman * (ECC CDH) Primitive:". The steps listed below refer to SP800-56A. */ -int ecdh_simple_compute_key(unsigned char **pout, size_t *poutlen, - const EC_POINT *pub_key, const EC_KEY *ecdh) +int ossl_ecdh_simple_compute_key(unsigned char **pout, size_t *poutlen, + const EC_POINT *pub_key, const EC_KEY *ecdh) { BN_CTX *ctx; EC_POINT *tmp = NULL; -- cgit v1.2.3