diff options
author | Pauli <pauli@openssl.org> | 2021-06-10 10:26:43 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-06-15 18:26:47 +1000 |
commit | f64851c5b3d8325121eb1b6669f4682ded51901a (patch) | |
tree | d9a43ae6bea5309828c22bd7978b2347ed6722cd /apps/kdf.c | |
parent | c8dd887d3c415bfeaabf12e719353b00d5d2e700 (diff) |
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)
Diffstat (limited to 'apps/kdf.c')
-rw-r--r-- | apps/kdf.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |