aboutsummaryrefslogtreecommitdiff
path: root/crypto/dh
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/dh
parent69333af49d8ddba6b551506ddbbccea73aee4a6b (diff)
downloadopenssl-64115f05ac950390e80e3993703513cda439fca0.zip
openssl-64115f05ac950390e80e3993703513cda439fca0.tar.gz
openssl-64115f05ac950390e80e3993703513cda439fca0.tar.bz2
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/dh')
-rw-r--r--crypto/dh/dh_kdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dh/dh_kdf.c b/crypto/dh/dh_kdf.c
index 781d34a..a1bbea3 100644
--- a/crypto/dh/dh_kdf.c
+++ b/crypto/dh/dh_kdf.c
@@ -39,7 +39,7 @@ int DH_KDF_X9_42(unsigned char *out, size_t outlen,
if (oid_sn == NULL)
return 0;
- kdf = EVP_KDF_fetch(provctx, SN_x942kdf, NULL);
+ kdf = EVP_KDF_fetch(provctx, OSSL_KDF_NAME_X942KDF, NULL);
if ((kctx = EVP_KDF_CTX_new(kdf)) == NULL)
goto err;
*p++ = OSSL_PARAM_construct_utf8_string(OSSL_KDF_PARAM_DIGEST,