summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ecdh_kdf.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2019-09-09 03:42:22 +0200
committerPauli <paul.dale@oracle.com>2019-09-11 02:22:49 +0200
commit64115f05ac950390e80e3993703513cda439fca0 (patch)
treee80f206381b4642abfa34a337f252945165405a1 /crypto/ec/ecdh_kdf.c
parentRegister KDF's using their name macros rather than strings (diff)
downloadopenssl-64115f05ac950390e80e3993703513cda439fca0.tar.xz
openssl-64115f05ac950390e80e3993703513cda439fca0.zip
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,