diff options
author | Pauli <paul.dale@oracle.com> | 2019-09-09 11:39:10 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-09-11 10:22:49 +1000 |
commit | 2e548ac9a103f9366675d58dd52ced1889688231 (patch) | |
tree | 267f5c8d1a04648e0b9d55def8bb6a432d77c579 /providers | |
parent | 27e27cd7ef5df70289058101df1ad2aa9b5ab139 (diff) |
Make FIPS provider use KDF name for PBKDF2
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9814)
Diffstat (limited to 'providers')
-rw-r--r-- | providers/fips/fipsprov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/fips/fipsprov.c b/providers/fips/fipsprov.c index 59cd4080f4..98ec491458 100644 --- a/providers/fips/fipsprov.c +++ b/providers/fips/fipsprov.c @@ -122,7 +122,7 @@ static int dummy_evp_call(void *provctx) OPENSSL_CTX *libctx = PROV_LIBRARY_CONTEXT_OF(provctx); EVP_MD_CTX *ctx = EVP_MD_CTX_new(); EVP_MD *sha256 = EVP_MD_fetch(libctx, "SHA256", NULL); - EVP_KDF *kdf = EVP_KDF_fetch(libctx, "pbkdf2", NULL); + EVP_KDF *kdf = EVP_KDF_fetch(libctx, OSSL_KDF_NAME_PBKDF2, NULL); char msg[] = "Hello World!"; const unsigned char exptd[] = { 0x7f, 0x83, 0xb1, 0x65, 0x7f, 0xf1, 0xfc, 0x53, 0xb9, 0x2d, 0xc1, 0x81, |