mirror of https://github.com/openssl/openssl
kdf: use the app's libctx and property query when searching for algorithms
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15687)
This commit is contained in:
parent
c8dd887d3c
commit
f64851c5b3
|
@ -138,7 +138,8 @@ opthelp:
|
||||||
if (argc != 1)
|
if (argc != 1)
|
||||||
goto opthelp;
|
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]);
|
BIO_printf(bio_err, "Invalid KDF name %s\n", argv[0]);
|
||||||
goto opthelp;
|
goto opthelp;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue