summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-06-10 10:26:43 +1000
committerPauli <pauli@openssl.org>2021-06-15 18:26:47 +1000
commitc8dd887d3c415bfeaabf12e719353b00d5d2e700 (patch)
tree7774b647d12ffa44881847cb2a3cc13853177368 /apps
parent3334e039cf3de72dbb7dd6151db26110afa8c993 (diff)
fipsinstall: 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')
-rw-r--r--apps/fipsinstall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/fipsinstall.c b/apps/fipsinstall.c
index 4defa0ab81..d0efdf7643 100644
--- a/apps/fipsinstall.c
+++ b/apps/fipsinstall.c
@@ -431,7 +431,7 @@ opthelp:
if (read_buffer == NULL)
goto end;
- mac = EVP_MAC_fetch(NULL, mac_name, NULL);
+ mac = EVP_MAC_fetch(app_get0_libctx(), mac_name, app_get0_propq());
if (mac == NULL) {
BIO_printf(bio_err, "Unable to get MAC of type %s\n", mac_name);
goto end;