From: Pauli Date: Thu, 10 Jun 2021 00:26:43 +0000 (+1000) Subject: kdf: use the app's libctx and property query when searching for algorithms X-Git-Tag: openssl-3.0.0-beta1~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f64851c5b3d8325121eb1b6669f4682ded51901a;p=thirdparty%2Fopenssl.git 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) --- diff --git a/apps/kdf.c b/apps/kdf.c index c4892ed20ec..89ee1f69c76 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; }