summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ecdh_kdf.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2019-09-09 11:42:22 +1000
committerPauli <paul.dale@oracle.com>2019-09-11 10:22:49 +1000
commit64115f05ac950390e80e3993703513cda439fca0 (patch)
treee80f206381b4642abfa34a337f252945165405a1 /crypto/ec/ecdh_kdf.c
parent69333af49d8ddba6b551506ddbbccea73aee4a6b (diff)
Usages of KDFs converted to use the name macros
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9814)
Diffstat (limited to 'crypto/ec/ecdh_kdf.c')
-rw-r--r--crypto/ec/ecdh_kdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ecdh_kdf.c b/crypto/ec/ecdh_kdf.c
index 55e676d20a..a19080940a 100644
--- a/crypto/ec/ecdh_kdf.c
+++ b/crypto/ec/ecdh_kdf.c
@@ -24,7 +24,7 @@ int ecdh_KDF_X9_63(unsigned char *out, size_t outlen,
EVP_KDF_CTX *kctx = NULL;
OSSL_PARAM params[4], *p = params;
const char *mdname = EVP_MD_name(md);
- EVP_KDF *kdf = EVP_KDF_fetch(NULL, SN_x963kdf, NULL);
+ EVP_KDF *kdf = EVP_KDF_fetch(NULL, OSSL_KDF_NAME_X963KDF, NULL);
if ((kctx = EVP_KDF_CTX_new(kdf)) != NULL) {
*p++ = OSSL_PARAM_construct_utf8_string(OSSL_KDF_PARAM_DIGEST,