mirror of https://github.com/openssl/openssl.git
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)
This commit is contained in:
parent
3334e039cf
commit
c8dd887d3c
|
|
@ -431,7 +431,7 @@ opthelp:
|
||||||
if (read_buffer == NULL)
|
if (read_buffer == NULL)
|
||||||
goto end;
|
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) {
|
if (mac == NULL) {
|
||||||
BIO_printf(bio_err, "Unable to get MAC of type %s\n", mac_name);
|
BIO_printf(bio_err, "Unable to get MAC of type %s\n", mac_name);
|
||||||
goto end;
|
goto end;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue