From f64851c5b3d8325121eb1b6669f4682ded51901a Mon Sep 17 00:00:00 2001 From: Pauli Date: Thu, 10 Jun 2021 10:26:43 +1000 Subject: [PATCH] kdf: use the app's libctx and property query when searching for algorithms Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/15687) --- apps/kdf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/kdf.c b/apps/kdf.c index c4892ed20e..89ee1f69c7 100644 --- a/apps/kdf.c +++ b/apps/kdf.c @@ -138,7 +138,8 @@ opthelp: if (argc != 1) goto opthelp; - if ((kdf = EVP_KDF_fetch(NULL, argv[0], NULL)) == NULL) { + if ((kdf = EVP_KDF_fetch(app_get0_libctx(), argv[0], + app_get0_propq())) == NULL) { BIO_printf(bio_err, "Invalid KDF name %s\n", argv[0]); goto opthelp; }